fedocal: Mount the secrets when deploying

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-01-29 14:02:34 +01:00
parent dbd763816b
commit 065a4a60a9

View file

@ -40,6 +40,9 @@ spec:
- name: config-volume
mountPath: /opt/app-root/config/
readOnly: true
- name: secret-volume
mountPath: /opt/app-root/secret/
readOnly: true
readinessProbe:
timeoutSeconds: 1
initialDelaySeconds: 5
@ -56,6 +59,9 @@ spec:
- name: config-volume
configMap:
name: fedocal-configmap
- name: secret-volume
configMap:
name: fedocal-secret
triggers:
- type: ConfigChange