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
|
- name: config
|
||||||
mountPath: "/etc/mirrormanager"
|
mountPath: "/etc/mirrormanager"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: secrets
|
||||||
|
mountPath: "/etc/mirrormanager-secrets"
|
||||||
|
readOnly: true
|
||||||
- name: scripts
|
- name: scripts
|
||||||
mountPath: "/opt/scripts"
|
mountPath: "/opt/scripts"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
@ -39,6 +42,9 @@
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: config
|
name: config
|
||||||
|
- name: secrets
|
||||||
|
secret:
|
||||||
|
secretName: secrets
|
||||||
- name: var-lib
|
- name: var-lib
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data
|
claimName: data
|
||||||
|
|
|
@ -56,15 +56,9 @@ spec:
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{ common_volume_mounts() }}
|
{{ common_volume_mounts() }}
|
||||||
- name: secrets
|
|
||||||
mountPath: "/etc/mirrormanager-secrets"
|
|
||||||
readOnly: true
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
{{ common_volumes() }}
|
{{ common_volumes() }}
|
||||||
- name: secrets
|
|
||||||
secret:
|
|
||||||
secretName: secrets
|
|
||||||
{{ security_context() }}
|
{{ security_context() }}
|
||||||
|
|
||||||
triggers:
|
triggers:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue