keycloak: allow MAS secret apply read access
This commit is contained in:
parent
afce04b9b2
commit
e9fb11af40
@ -8,7 +8,7 @@ metadata:
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: mas-secrets-ensure-3
|
name: mas-secrets-ensure-4
|
||||||
namespace: sso
|
namespace: sso
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 2
|
backoffLimit: 2
|
||||||
@ -66,7 +66,7 @@ spec:
|
|||||||
openssl rand -base64 32 > /work/encryption
|
openssl rand -base64 32 > /work/encryption
|
||||||
openssl rand -hex 32 > /work/matrix_shared_secret
|
openssl rand -hex 32 > /work/matrix_shared_secret
|
||||||
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out /work/rsa_key >/dev/null 2>&1
|
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out /work/rsa_key >/dev/null 2>&1
|
||||||
chmod 0600 /work/*
|
chmod 0644 /work/*
|
||||||
env:
|
env:
|
||||||
- name: KEYCLOAK_ADMIN
|
- name: KEYCLOAK_ADMIN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user