Skip to content

Commit

Permalink
Harden preinstall job
Browse files Browse the repository at this point in the history
  • Loading branch information
fhielpos committed Oct 10, 2023
1 parent 39a717b commit 113c5fe
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ spec:
securityContext:
seccompProfile:
type: RuntimeDefault
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
Expand All @@ -46,9 +45,14 @@ spec:
seccompProfile:
type: RuntimeDefault
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
privileged: false
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
capabilities:
drop:
- ALL
volumeMounts:
{{- range $path, $_ := .Files.Glob "crd/**" }}
- name: {{ $path | base | trimSuffix ".yaml" }}
Expand Down

0 comments on commit 113c5fe

Please sign in to comment.