Skip to content

Commit 9b253d1

Browse files
authored
Fix container readable root (#119)
Signed-off-by: v.oleynikov <[email protected]>
1 parent c4e6bca commit 9b253d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/controller/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ spec:
9191
{{- include "controller_resources" . | nindent 14 }}
9292
{{- end }}
9393
securityContext:
94+
readOnlyRootFilesystem: true
9495
privileged: true
9596
seLinuxOptions:
9697
level: s0

0 commit comments

Comments
 (0)