File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed
chart/k8soauth2-proxy-controller Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ keywords:
1313name : k8soauth2-proxy-controller
1414sources :
1515- https://github.com/DoodleScheduling/k8soauth2-proxy-controller
16- version : 0.2.3
16+ version : 0.2.4
Original file line number Diff line number Diff line change 9696 name : https
9797 protocol : TCP
9898 resources :
99- limits :
100- cpu : 500m
101- memory : 128Mi
102- requests :
103- cpu : 5m
104- memory : 64Mi
99+ {{- toYaml .Values.kubeRBACProxy.resources | nindent 10 }}
100+ securityContext :
101+ {{- toYaml .Values.kubeRBACProxy.securityContext | nindent 10 }}
105102 terminationMessagePath : /dev/termination-log
106103 terminationMessagePolicy : File
107104 {{- end }}
@@ -114,6 +111,8 @@ spec:
114111 secret :
115112 secretName : {{ .secretName }}
116113 {{- end }}
114+ securityContext :
115+ {{- toYaml .Values.podSecurityContext | nindent 8 }}
117116 affinity :
118117 {{- toYaml .Values.affinity | nindent 8 }}
119118 imagePullSecrets :
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ securityContext:
8787 capabilities :
8888 drop : ["all"]
8989 readOnlyRootFilesystem : true
90+
91+ podSecurityContext :
9092 runAsGroup : 10000
9193 runAsNonRoot : true
9294 runAsUser : 10000
@@ -131,4 +133,12 @@ prometheusRule:
131133kubeRBACProxy :
132134 enabled : true
133135
136+ securityContext :
137+ allowPrivilegeEscalation : false
138+ capabilities :
139+ drop : ["all"]
140+ readOnlyRootFilesystem : true
141+
142+ resources : {}
143+
134144tolerations : []
You can’t perform that action at this time.
0 commit comments