feat(hydra-dispatcher): mount default apps config as volume
This commit is contained in:
parent
9e73054781
commit
51535d76bf
2
resources/hydra-dispatcher/files/hydra/default.yaml
Normal file
2
resources/hydra-dispatcher/files/hydra/default.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
hydra:
|
||||
apps: []
|
@ -18,4 +18,7 @@ configMapGenerator:
|
||||
- BASE_URL=http://hydra-dispatcher
|
||||
- COOKIE_PATH=/
|
||||
- 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
|
||||
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
Block a user