File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ keywords:
1212name : k8sdb-controller
1313sources :
1414- https://github.com/DoodleScheduling/k8sdb-controller
15- version : 0.2.2
15+ version : 0.2.3
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 @@ -82,6 +82,8 @@ securityContext:
8282 capabilities :
8383 drop : ["all"]
8484 readOnlyRootFilesystem : true
85+
86+ podSecurityContext :
8587 runAsGroup : 10000
8688 runAsNonRoot : true
8789 runAsUser : 10000
@@ -121,4 +123,18 @@ prometheusRule:
121123kubeRBACProxy :
122124 enabled : true
123125
126+ securityContext :
127+ allowPrivilegeEscalation : false
128+ capabilities :
129+ drop : ["all"]
130+ readOnlyRootFilesystem : true
131+
132+ resources : {}
133+ # limits:
134+ # cpu: 500m
135+ # memory: 128Mi
136+ # requests:
137+ # cpu: 5m
138+ # memory: 64Mi
139+
124140tolerations : []
You can’t perform that action at this time.
0 commit comments