fix(apps): Wait for database and bump splitpro image
This commit is contained in:
@@ -36,7 +36,7 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: splitpro
|
name: splitpro
|
||||||
image: ghcr.io/whyredfire/splitpro:62e724ee02accaf3dfca7965f9bd778eb44b1271
|
image: ghcr.io/whyredfire/splitpro:529739ab7f506ce258f6d09596ed8bb0833c20c1
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /api/auth/providers
|
path: /api/auth/providers
|
||||||
@@ -75,6 +75,19 @@ spec:
|
|||||||
name: cache
|
name: cache
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: tmp
|
name: tmp
|
||||||
|
initContainers:
|
||||||
|
- command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- until nc -z -w 2 splitpro-db-rw 5432; do echo waiting for database; sleep 2; done
|
||||||
|
image: ghcr.io/whyredfire/splitpro:529739ab7f506ce258f6d09596ed8bb0833c20c1
|
||||||
|
name: wait-for-db
|
||||||
|
securityContext:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
|
|||||||
Reference in New Issue
Block a user