keycloak: use create for MAS secrets
This commit is contained in:
parent
6c99eb452e
commit
6e7118c14d
@ -8,7 +8,7 @@ metadata:
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: mas-secrets-ensure-5
|
name: mas-secrets-ensure-6
|
||||||
namespace: sso
|
namespace: sso
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 0
|
backoffLimit: 0
|
||||||
@ -96,8 +96,7 @@ spec:
|
|||||||
--from-file=encryption=/work/encryption \
|
--from-file=encryption=/work/encryption \
|
||||||
--from-file=matrix_shared_secret=/work/matrix_shared_secret \
|
--from-file=matrix_shared_secret=/work/matrix_shared_secret \
|
||||||
--from-file=keycloak_client_secret=/work/keycloak_client_secret \
|
--from-file=keycloak_client_secret=/work/keycloak_client_secret \
|
||||||
--from-file=rsa_key=/work/rsa_key \
|
--from-file=rsa_key=/work/rsa_key >/dev/null
|
||||||
--dry-run=client -o yaml | kubectl -n comms apply -f - >/dev/null
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: work
|
- name: work
|
||||||
mountPath: /work
|
mountPath: /work
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user