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=/
|
||||
- DEFAULT_LOCALE=fr
|
||||
- APP_LOCALES=fr,en
|
||||
- name: hydra-dispatcher-apps
|
||||
files:
|
||||
- ./files/hydra/default.yaml
|
|
@ -17,12 +17,20 @@ spec:
|
|||
io.kompose.service: hydra-dispatcher
|
||||
spec:
|
||||
containers:
|
||||
- name: hydra
|
||||
- name: hydra-dispatcher
|
||||
image: reg.cadoles.com/cadoles/hydra-dispatcher-v1:v0.0.0-159-gd91e77b
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: hydra-dispatcher-env
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/config/hydra
|
||||
name: hydra-dispatcher-apps
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources: {}
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: hydra-dispatcher-apps
|
||||
configMap:
|
||||
name: hydra-dispatcher-apps
|
||||
|
||||
|
|
Loading…
Reference in New Issue