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 +21
-1
lines changed
deploy/charts/kube-oidc-proxy Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 74
74
{{- if .Values.extraImpersonationHeaders.headers }}
75
75
- " --extra-user-headers={{ .Values.extraImpersonationHeaders.headers }}"
76
76
{{ end }}
77
+ {{- range $key, $value := .Values.extraArgs -}}
78
+ - " --{{ $key }}={{ $value -}}"
79
+ {{ end }}
77
80
resources :
78
81
{{- toYaml .Values.resources | nindent 12 }}
79
82
env :
@@ -135,14 +138,15 @@ spec:
135
138
key : api-audiences
136
139
{{ end }}
137
140
volumeMounts :
138
- {{ if .Values.oidc.caPEM }}
141
+ {{- if .Values.oidc.caPEM }}
139
142
- name : kube-oidc-proxy-config
140
143
mountPath : /etc/oidc
141
144
readOnly : true
142
145
{{ end }}
143
146
- name : kube-oidc-proxy-tls
144
147
mountPath : /etc/oidc/tls
145
148
readOnly : true
149
+ {{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 10 }}{{ end }}
146
150
volumes :
147
151
{{ if .Values.oidc.caPEM }}
148
152
- name : kube-oidc-proxy-config
@@ -152,6 +156,7 @@ spec:
152
156
- key : oidc.ca-pem
153
157
path : oidc-ca.pem
154
158
{{ end }}
159
+ {{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 8 }}{{ end }}
155
160
- name : kube-oidc-proxy-tls
156
161
secret :
157
162
secretName : {{ $tlsSecretName }}
Original file line number Diff line number Diff line change @@ -60,6 +60,20 @@ extraImpersonationHeaders:
60
60
clientIP : false
61
61
# headers: key1=foo,key2=bar,key1=bar
62
62
63
+ extraArgs : {}
64
+ # audit-log-path: /audit-log
65
+ # audit-policy-file: /audit/audit.yaml
66
+
67
+ extraVolumeMounts : {}
68
+ # - name: audit
69
+ # mountPath: /audit
70
+ # readOnly: true
71
+
72
+ extraVolumes : {}
73
+ # - configMap:
74
+ # defaultMode: 420
75
+ # name: kube-oidc-proxy-policy
76
+ # name: audit
63
77
64
78
ingress :
65
79
enabled : false
@@ -91,6 +105,7 @@ resources: {}
91
105
# requests:
92
106
# cpu: 100m
93
107
# memory: 128Mi
108
+ #
94
109
95
110
initContainers : []
96
111
You can’t perform that action at this time.
0 commit comments