-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also fix args not being passed to deployment if secret is not generated Signed-off-by: Valentin Klopfenstein <[email protected]>
- Loading branch information
1 parent
a1ca4cc
commit 069eb97
Showing
4 changed files
with
37 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
{{- if .Values.config.oidc.create }} | ||
{{- with .Values.config.oidc }} | ||
{{- if .secret.create -}} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: oidc | ||
name: {{ .secret.name }} | ||
type: Opaque | ||
data: | ||
{{- with .Values.config.oidc.clientID }} | ||
{{- with .clientID }} | ||
clientID: {{ . | b64enc | quote }} | ||
{{- end }} | ||
{{- with .Values.config.oidc.clientSecret }} | ||
{{- with .clientSecret }} | ||
clientSecret: {{ . | b64enc | quote }} | ||
{{- end }} | ||
{{- with .Values.config.oidc.issuerURL }} | ||
{{- with .issuerURL }} | ||
issuerURL: {{ . | b64enc | quote }} | ||
{{- end }} | ||
{{- with .Values.config.oidc.scopes }} | ||
{{- with .scopes }} | ||
scopes: {{ . | b64enc | quote }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters