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
|
- name: config-volume
|
||||||
mountPath: /opt/app-root/config/
|
mountPath: /opt/app-root/config/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: secret-volume
|
||||||
|
mountPath: /opt/app-root/secret/
|
||||||
|
readOnly: true
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
|
@ -56,6 +59,9 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: fedocal-configmap
|
name: fedocal-configmap
|
||||||
|
- name: secret-volume
|
||||||
|
configMap:
|
||||||
|
name: fedocal-secret
|
||||||
|
|
||||||
triggers:
|
triggers:
|
||||||
- type: ConfigChange
|
- type: ConfigChange
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue