comms: rerun ensure jobs and fix vault oidc env
This commit is contained in:
parent
9ecdf054d3
commit
e24ff4782c
@ -2,7 +2,7 @@
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: comms-secrets-ensure-6
|
name: comms-secrets-ensure-7
|
||||||
namespace: comms
|
namespace: comms
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 1
|
backoffLimit: 1
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: mas-local-users-ensure-16
|
name: mas-local-users-ensure-17
|
||||||
namespace: comms
|
namespace: comms
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 1
|
backoffLimit: 1
|
||||||
|
|||||||
@ -89,7 +89,11 @@ spec:
|
|||||||
export VAULT_OIDC_USER_POLICIES="{{ .Data.data.user_policies }}"
|
export VAULT_OIDC_USER_POLICIES="{{ .Data.data.user_policies }}"
|
||||||
export VAULT_OIDC_REDIRECT_URIS="{{ .Data.data.redirect_uris }}"
|
export VAULT_OIDC_REDIRECT_URIS="{{ .Data.data.redirect_uris }}"
|
||||||
export VAULT_OIDC_BOUND_AUDIENCES="{{ .Data.data.bound_audiences }}"
|
export VAULT_OIDC_BOUND_AUDIENCES="{{ .Data.data.bound_audiences }}"
|
||||||
|
{{- if .Data.data.bound_claims_type }}
|
||||||
export VAULT_OIDC_BOUND_CLAIMS_TYPE="{{ .Data.data.bound_claims_type }}"
|
export VAULT_OIDC_BOUND_CLAIMS_TYPE="{{ .Data.data.bound_claims_type }}"
|
||||||
|
{{- else }}
|
||||||
|
export VAULT_OIDC_BOUND_CLAIMS_TYPE="string"
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: ariadne
|
serviceAccountName: ariadne
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user