File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11name : oauth2-proxy
2- version : 5.1 .0
2+ version : 5.2 .0
33apiVersion : v2
44appVersion : 7.2.0
55home : https://oauth2-proxy.github.io/oauth2-proxy/
Original file line number Diff line number Diff line change @@ -189,9 +189,10 @@ spec:
189189{{ toYaml .Values.extraVolumeMounts | indent 8 }}
190190{{- end }}
191191{{- if .Values.securityContext.enabled }}
192+ {{- $securityContext := unset .Values.securityContext "enabled" }}
192193 securityContext :
193- runAsNonRoot : {{ .Values. securityContext.runAsNonRoot }}
194- {{- end}}
194+ {{- toYaml $ securityContext | nindent 10 }}
195+ {{- end }}
195196 volumes :
196197{{- with .Values.config.google }}
197198{{- if and .adminEmail (or .serviceAccountJson .existingSecret) }}
Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ readinessProbe:
182182securityContext :
183183 enabled : false
184184 runAsNonRoot : true
185+ # allowPrivilegeEscalation: false
186+ # runAsUser: 2000
185187
186188podAnnotations : {}
187189podLabels : {}
You can’t perform that action at this time.
0 commit comments