File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed
configpolicy/manifests/managedclusterchart/templates
policyframework/manifests/managedclusterchart/templates Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 5151 - mountPath : " /var/run/metrics-cert"
5252 name : metrics-cert
5353 readOnly : true
54+ securityContext :
55+ allowPrivilegeEscalation : false
56+ capabilities :
57+ drop :
58+ - ALL
59+ privileged : false
60+ readOnlyRootFilesystem : true
5461 {{- end }}
5562 - name : {{ .Chart.Name }}
5663 image : " {{ .Values.global.imageOverrides.config_policy_controller }}"
@@ -131,12 +138,6 @@ spec:
131138 containerPort : 8383
132139 {{- end }}
133140 resources : {{- toYaml .Values.resources | nindent 10 }}
134- allowPrivilegeEscalation : false
135- capabilities :
136- drop :
137- - ALL
138- privileged : false
139- readOnlyRootFilesystem : true
140141 volumeMounts :
141142 - name : klusterlet-config
142143 mountPath : /var/run/klusterlet
@@ -145,6 +146,13 @@ spec:
145146 name : managed-kubeconfig-secret
146147 readOnly : true
147148 {{- end }}
149+ securityContext :
150+ allowPrivilegeEscalation : false
151+ capabilities :
152+ drop :
153+ - ALL
154+ privileged : false
155+ readOnlyRootFilesystem : true
148156 volumes :
149157 - name : klusterlet-config
150158 secret :
Original file line number Diff line number Diff line change 5151 - mountPath : " /var/run/metrics-cert"
5252 name : metrics-cert
5353 readOnly : true
54+ securityContext :
55+ allowPrivilegeEscalation : false
56+ capabilities :
57+ drop :
58+ - ALL
59+ privileged : false
60+ readOnlyRootFilesystem : true
5461 {{- end }}
5562 - name : governance-policy-framework-addon
5663 image : " {{ .Values.global.imageOverrides.governance_policy_framework_addon }}"
You can’t perform that action at this time.
0 commit comments