fix(umami): initContainers
All checks were successful
Renovate / renovate (push) Successful in 22s

This commit is contained in:
Peter 2024-04-30 15:54:31 +02:00
parent a84dbabc46
commit 48e9137489
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -13,74 +13,74 @@ spec:
labels: labels:
app.kubernetes.io/name: umami app.kubernetes.io/name: umami
spec: spec:
initContainer: initContainers:
- name: init-db - name: init-db
image: umami image: umami
command: command:
- /app/node_modules/.bin/npm-run-all - /app/node_modules/.bin/npm-run-all
args: args:
- check-db - check-db
- update-tracker - update-tracker
env: env:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-umami name: default-cluster-pguser-umami
key: uri key: uri
envFrom: envFrom:
- configMapRef: - configMapRef:
name: umami-config name: umami-config
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
cpu: "150m" cpu: "150m"
limits: limits:
memory: "384Mi" memory: "384Mi"
cpu: "250m" cpu: "250m"
containers: containers:
- name: umami - name: umami
image: umami image: umami
args: args:
- node - node
- server.js - server.js
env: env:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: default-cluster-pguser-umami name: default-cluster-pguser-umami
key: uri key: uri
envFrom: envFrom:
- configMapRef: - configMapRef:
name: umami-config name: umami-config
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
cpu: "50m" cpu: "50m"
limits: limits:
memory: "384Mi" memory: "384Mi"
cpu: "100m" cpu: "100m"
ports: ports:
- containerPort: 3000 - containerPort: 3000
protocol: TCP protocol: TCP
name: web name: web
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /api/heartbeat path: /api/heartbeat
port: 3000 port: 3000
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 20 periodSeconds: 20
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /api/heartbeat path: /api/heartbeat
port: 3000 port: 3000
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 10 periodSeconds: 10
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
capabilities: capabilities:
drop: drop:
- ALL - ALL
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
affinity: affinity:
nodeAffinity: nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution: