fedocal: Mount the secrets when deploying
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
dbd763816b
commit
065a4a60a9
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue