communication: syn2mas migrate mount MAS secrets
This commit is contained in:
parent
af03ac6dbc
commit
101fcc18a3
@ -2,14 +2,14 @@
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: mas-syn2mas-migrate
|
name: mas-syn2mas-migrate-v2
|
||||||
namespace: communication
|
namespace: communication
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 0
|
backoffLimit: 0
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: mas-syn2mas-migrate
|
app: mas-syn2mas-migrate-v2
|
||||||
spec:
|
spec:
|
||||||
enableServiceLinks: false
|
enableServiceLinks: false
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
@ -100,6 +100,12 @@ spec:
|
|||||||
- name: rendered
|
- name: rendered
|
||||||
mountPath: /rendered
|
mountPath: /rendered
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
- name: mas-secrets
|
||||||
|
mountPath: /etc/mas/secrets
|
||||||
|
readOnly: true
|
||||||
|
- name: mas-keys
|
||||||
|
mountPath: /etc/mas/keys
|
||||||
|
readOnly: true
|
||||||
- name: synapse-config
|
- name: synapse-config
|
||||||
mountPath: /synapse-config
|
mountPath: /synapse-config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
@ -115,6 +121,22 @@ spec:
|
|||||||
path: config.yaml
|
path: config.yaml
|
||||||
- name: rendered
|
- name: rendered
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: mas-secrets
|
||||||
|
secret:
|
||||||
|
secretName: mas-secrets-runtime
|
||||||
|
items:
|
||||||
|
- key: encryption
|
||||||
|
path: encryption
|
||||||
|
- key: matrix_shared_secret
|
||||||
|
path: matrix_shared_secret
|
||||||
|
- key: keycloak_client_secret
|
||||||
|
path: keycloak_client_secret
|
||||||
|
- name: mas-keys
|
||||||
|
secret:
|
||||||
|
secretName: mas-secrets-runtime
|
||||||
|
items:
|
||||||
|
- key: rsa_key
|
||||||
|
path: rsa_key
|
||||||
- name: synapse-config
|
- name: synapse-config
|
||||||
configMap:
|
configMap:
|
||||||
name: othrys-synapse-matrix-synapse
|
name: othrys-synapse-matrix-synapse
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user