feat(hydra-dispatcher): mount default apps config as volume
This commit is contained in:
parent
9e73054781
commit
51535d76bf
|
@ -0,0 +1,2 @@
|
||||||
|
hydra:
|
||||||
|
apps: []
|
|
@ -19,3 +19,6 @@ configMapGenerator:
|
||||||
- COOKIE_PATH=/
|
- COOKIE_PATH=/
|
||||||
- DEFAULT_LOCALE=fr
|
- DEFAULT_LOCALE=fr
|
||||||
- APP_LOCALES=fr,en
|
- APP_LOCALES=fr,en
|
||||||
|
- name: hydra-dispatcher-apps
|
||||||
|
files:
|
||||||
|
- ./files/hydra/default.yaml
|
|
@ -17,12 +17,20 @@ spec:
|
||||||
io.kompose.service: hydra-dispatcher
|
io.kompose.service: hydra-dispatcher
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hydra
|
- name: hydra-dispatcher
|
||||||
image: reg.cadoles.com/cadoles/hydra-dispatcher-v1:v0.0.0-159-gd91e77b
|
image: reg.cadoles.com/cadoles/hydra-dispatcher-v1:v0.0.0-159-gd91e77b
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: hydra-dispatcher-env
|
name: hydra-dispatcher-env
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/www/config/hydra
|
||||||
|
name: hydra-dispatcher-apps
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
resources: {}
|
resources: {}
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: hydra-dispatcher-apps
|
||||||
|
configMap:
|
||||||
|
name: hydra-dispatcher-apps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue