File tree Expand file tree Collapse file tree 13 files changed +14
-18
lines changed
charts/nginx-gateway-fabric/templates
snippets-filters-nginx-plus Expand file tree Collapse file tree 13 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ spec:
139139 capabilities :
140140 drop :
141141 - ALL
142+ allowPrivilegeEscalation : false
142143 readOnlyRootFilesystem : true
143144 runAsUser : 101
144145 runAsGroup : 1001
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ readOnlyRootFilesystem: true
1515runAsUser :
1616 type : MustRunAsRange
1717 uidRangeMin : 101
18- uidRangeMax : 102
18+ uidRangeMax : 101
1919fsGroup :
2020 type : MustRunAs
2121 ranges :
@@ -30,16 +30,8 @@ seLinuxContext:
3030 type : MustRunAs
3131seccompProfiles :
3232- runtime/default
33- volumes :
34- - emptyDir
35- - secret
36- - configMap
37- - projected
3833users :
3934- {{ printf "system:serviceaccount:%s:%s" .Release.Namespace (include "nginx-gateway.serviceAccountName" .) }}
40- allowedCapabilities :
41- - NET_BIND_SERVICE
42- - KILL
4335requiredDropCapabilities :
4436- ALL
4537{{- end }}
Original file line number Diff line number Diff line change 6969 capabilities :
7070 drop :
7171 - ALL
72+ allowPrivilegeEscalation : false
7273 readOnlyRootFilesystem : true
7374 runAsUser : 101
7475 runAsGroup : 1001
Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ spec:
292292 initialDelaySeconds : 3
293293 periodSeconds : 1
294294 securityContext :
295+ allowPrivilegeEscalation : false
295296 capabilities :
296297 drop :
297298 - ALL
Original file line number Diff line number Diff line change @@ -289,6 +289,7 @@ spec:
289289 initialDelaySeconds : 3
290290 periodSeconds : 1
291291 securityContext :
292+ allowPrivilegeEscalation : false
292293 capabilities :
293294 drop :
294295 - ALL
Original file line number Diff line number Diff line change @@ -289,6 +289,7 @@ spec:
289289 initialDelaySeconds : 3
290290 periodSeconds : 1
291291 securityContext :
292+ allowPrivilegeEscalation : false
292293 capabilities :
293294 drop :
294295 - ALL
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ spec:
304304 initialDelaySeconds : 3
305305 periodSeconds : 1
306306 securityContext :
307+ allowPrivilegeEscalation : false
307308 capabilities :
308309 drop :
309310 - ALL
Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ spec:
295295 initialDelaySeconds : 3
296296 periodSeconds : 1
297297 securityContext :
298+ allowPrivilegeEscalation : false
298299 capabilities :
299300 drop :
300301 - ALL
Original file line number Diff line number Diff line change @@ -298,6 +298,7 @@ spec:
298298 initialDelaySeconds : 3
299299 periodSeconds : 1
300300 securityContext :
301+ allowPrivilegeEscalation : false
301302 capabilities :
302303 drop :
303304 - ALL
Original file line number Diff line number Diff line change @@ -289,6 +289,7 @@ spec:
289289 initialDelaySeconds : 3
290290 periodSeconds : 1
291291 securityContext :
292+ allowPrivilegeEscalation : false
292293 capabilities :
293294 drop :
294295 - ALL
You can’t perform that action at this time.
0 commit comments