File tree Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Expand file tree Collapse file tree 3 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ keywords:
12
12
name : k8sdb-controller
13
13
sources :
14
14
- 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 96
96
name : https
97
97
protocol : TCP
98
98
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 }}
105
102
terminationMessagePath : /dev/termination-log
106
103
terminationMessagePolicy : File
107
104
{{- end }}
@@ -114,6 +111,8 @@ spec:
114
111
secret :
115
112
secretName : {{ .secretName }}
116
113
{{- end }}
114
+ securityContext :
115
+ {{- toYaml .Values.podSecurityContext | nindent 8 }}
117
116
affinity :
118
117
{{- toYaml .Values.affinity | nindent 8 }}
119
118
imagePullSecrets :
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ securityContext:
82
82
capabilities :
83
83
drop : ["all"]
84
84
readOnlyRootFilesystem : true
85
+
86
+ podSecurityContext :
85
87
runAsGroup : 10000
86
88
runAsNonRoot : true
87
89
runAsUser : 10000
@@ -121,4 +123,18 @@ prometheusRule:
121
123
kubeRBACProxy :
122
124
enabled : true
123
125
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
+
124
140
tolerations : []
You can’t perform that action at this time.
0 commit comments