Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit f33d88f

Browse files
committed
Updates deployment chart
Signed-off-by: JoshVanL <[email protected]>
1 parent c25565f commit f33d88f

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

deploy/charts/kube-oidc-proxy/templates/deployment.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ spec:
5959
{{- if .Values.oidc.requiredClaims }}
6060
- "--oidc-signing-algs=$(OIDC_REQUIRED_CLAIMS)"
6161
{{ end }}
62-
{{- if .Values.oidc.apiAudiences }}
63-
- "--api-audiences=$(API_AUDIENCES)"
64-
{{ end }}
6562
{{- if .Values.tokenPassthrough.enabled }}
6663
- "--token-passthrough"
6764
{{- if .Values.tokenPassthrough.audiences }}
@@ -130,13 +127,6 @@ spec:
130127
name: {{ include "kube-oidc-proxy.fullname" . }}-config
131128
key: oidc.required-claims
132129
{{ end }}
133-
{{- if .Values.oidc.apiAudiences }}
134-
- name: API_AUDIENCES
135-
valueFrom:
136-
secretKeyRef:
137-
name: {{ include "kube-oidc-proxy.fullname" . }}-config
138-
key: api-audiences
139-
{{ end }}
140130
volumeMounts:
141131
{{- if .Values.oidc.caPEM }}
142132
- name: kube-oidc-proxy-config

deploy/charts/kube-oidc-proxy/templates/secret_config.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ data:
2121
{{ if .Values.oidc.requiredClaims }}
2222
oidc.required-claims: {{ include "requiredClaims" . | b64enc }}
2323
{{- end }}
24-
{{- if .Values.oidc.apiAudiences -}}
25-
api-audiences: {{ join "," .Values.oidc.apiAudiences | b64enc }}
26-
{{- end }}
2724
kind: Secret
2825
metadata:
2926
name: {{ include "kube-oidc-proxy.fullname" . }}-config
3027
labels:
3128
{{ include "kube-oidc-proxy.labels" . | indent 4 }}
32-
type: Opaque
29+
type: Opaque

deploy/charts/kube-oidc-proxy/values.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ oidc:
3636
usernameClaim: ""
3737

3838
# PEM encoded value of CA cert that will verify TLS connection to
39-
# OIDC issuer URL. If not provided default hosts root CA's will be used.
39+
# OIDC issuer URL. If not provided, default hosts root CA's will be used.
4040
caPEM:
4141

4242
usernamePrefix:
@@ -46,7 +46,6 @@ oidc:
4646
signingAlgs:
4747
- RS256
4848
requiredClaims: {}
49-
apiAudiences: []
5049

5150
# To enable token passthrough feature
5251
# https://github.com/jetstack/kube-oidc-proxy/blob/master/docs/tasks/token-passthrough.md

0 commit comments

Comments
 (0)