This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
deploy/charts/kube-oidc-proxy Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 6
6
oidc.issuer-url : {{ .Values.oidc.issuerUrl | b64enc }}
7
7
oidc.username-claim : {{ .Values.oidc.usernameClaim | b64enc }}
8
8
oidc.client-id : {{ .Values.oidc.clientId | b64enc }}
9
- oidc.username-prefix : {{ .Values.oidc.usernamePrefix | default "" | b64enc }}
10
- oidc.groups-claim : {{ .Values.oidc.groupsClaim | default "" | b64enc }}
11
- oidc.groups-prefix : {{ .Values.oidc.groupsPrefix | default "" | b64enc }}
12
- oidc.signing-algs : {{ join "," .Values.oidc.signingAlgs | default "" | b64enc }}
9
+ {{- if .Values.oidc.usernamePrefix }}
10
+ oidc.username-prefix : {{ .Values.oidc.usernamePrefix | b64enc }}
11
+ {{- end }}
12
+ {{- if .Values.oidc.groupsClaim }}
13
+ oidc.groups-claim : {{ .Values.oidc.groupsClaim | b64enc }}
14
+ {{- end }}
15
+ {{- if .Values.oidc.groupsPrefix }}
16
+ oidc.groups-prefix : {{ .Values.oidc.groupsPrefix | b64enc }}
17
+ {{- end }}
18
+ {{- if .Values.oidc.signingAlgs }}
19
+ oidc.signing-algs : {{ join "," .Values.oidc.signingAlgs | b64enc }}
20
+ {{- end }}
21
+ {{ if .Values.oidc.requiredClaims }}
13
22
oidc.required-claims : {{ include "requiredClaims" . | b64enc }}
14
- api-audiences : {{ join "," .Values.oidc.apiAudiences | default "" | b64enc }}
23
+ {{- end }}
24
+ {{- if .Values.oidc.apiAudiences -}}
25
+ api-audiences : {{ join "," .Values.oidc.apiAudiences | b64enc }}
26
+ {{- end }}
15
27
kind : Secret
16
28
metadata :
17
29
name : {{ include "kube-oidc-proxy.fullname" . }}-config
Original file line number Diff line number Diff line change 31
31
issuerUrl : " "
32
32
usernameClaim : " "
33
33
34
- # Base64 encoded value of CA cert that will verify TLS connection to
34
+ # PEM encoded value of CA cert that will verify TLS connection to
35
35
# OIDC issuer URL. If not provided default hosts root CA's will be used.
36
36
caPEM :
37
37
You can’t perform that action at this time.
0 commit comments