MirrorManager: add the secrets mount to all deploymentconfigs
The crawlers need it when they import the Flask app, or we get: ``` FileNotFoundError: [Errno 2] No such file or directory: '/etc/mirrormanager-secrets/client_secrets.json' ``` Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
a6177a5e52
commit
6687bfb589
2 changed files with 6 additions and 6 deletions
|
@ -2,6 +2,9 @@
|
|||
- name: config
|
||||
mountPath: "/etc/mirrormanager"
|
||||
readOnly: true
|
||||
- name: secrets
|
||||
mountPath: "/etc/mirrormanager-secrets"
|
||||
readOnly: true
|
||||
- name: scripts
|
||||
mountPath: "/opt/scripts"
|
||||
readOnly: true
|
||||
|
@ -39,6 +42,9 @@
|
|||
- name: config
|
||||
configMap:
|
||||
name: config
|
||||
- name: secrets
|
||||
secret:
|
||||
secretName: secrets
|
||||
- name: var-lib
|
||||
persistentVolumeClaim:
|
||||
claimName: data
|
||||
|
|
|
@ -56,15 +56,9 @@ spec:
|
|||
|
||||
volumeMounts:
|
||||
{{ common_volume_mounts() }}
|
||||
- name: secrets
|
||||
mountPath: "/etc/mirrormanager-secrets"
|
||||
readOnly: true
|
||||
|
||||
volumes:
|
||||
{{ common_volumes() }}
|
||||
- name: secrets
|
||||
secret:
|
||||
secretName: secrets
|
||||
{{ security_context() }}
|
||||
|
||||
triggers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue