This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
deploy/charts/kube-oidc-proxy Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -55,4 +55,4 @@ Required claims serialized to CLI argument
55
55
{ {- end -} }
56
56
{ { join " ," $local } }
57
57
{ {- end -} }
58
- { {- end -} }
58
+ { {- end -} }
Original file line number Diff line number Diff line change 68
68
- " --token-passthrough-audiences={{ join " ," .Values.tokenPassthrough.audiences }}"
69
69
{{ end }}
70
70
{{ end }}
71
+ {{- if .Values.extraImpersonationHeaders.clientIP }}
72
+ - " --extra-user-header-client-ip"
73
+ {{ end }}
74
+ {{- if .Values.extraImpersonationHeaders.headers }}
75
+ - " --extra-user-headers={{ .Values.extraImpersonationHeaders.headers }}"
76
+ {{ end }}
71
77
resources :
72
78
{{- toYaml .Values.resources | nindent 12 }}
73
79
env :
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ tokenPassthrough:
54
54
enabled : false
55
55
audiences : []
56
56
57
+ # To add extra impersonation headers
58
+ # https://github.com/jetstack/kube-oidc-proxy/blob/master/docs/tasks/extra-impersonation-headers.md
59
+ extraImpersonationHeaders :
60
+ clientIP : false
61
+ headers : #{}
62
+ # headers: key1=foo,key2=bar,key1=bar
63
+
64
+
57
65
ingress :
58
66
enabled : false
59
67
annotations : {}
You can’t perform that action at this time.
0 commit comments