also run initcontainer on SCALE for authelia
This commit is contained in:
@@ -38,4 +38,4 @@ sources:
|
|||||||
- https://github.com/authelia/chartrepo
|
- https://github.com/authelia/chartrepo
|
||||||
- https://github.com/authelia/authelia
|
- https://github.com/authelia/authelia
|
||||||
type: application
|
type: application
|
||||||
version: 1.6.14
|
version: 1.6.15
|
||||||
|
|||||||
@@ -14,6 +14,22 @@ enableServiceLinks: false
|
|||||||
command: ["authelia"]
|
command: ["authelia"]
|
||||||
args: ["--config=/configuration.yaml"]
|
args: ["--config=/configuration.yaml"]
|
||||||
|
|
||||||
|
|
||||||
|
initContainers:
|
||||||
|
- name: init-postgresdb
|
||||||
|
image: postgres:13.1
|
||||||
|
command:
|
||||||
|
- "sh"
|
||||||
|
- "-c"
|
||||||
|
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: pghost
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: dbcreds
|
||||||
|
key: plainhost
|
||||||
|
|
||||||
# Enabled postgres
|
# Enabled postgres
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user