Skip to content

Commit aeda4ed

Browse files
Merge pull request #2051 from abays/harden-sub-operator-seccomp
Add seccompProfile to sub-operator deployment template
2 parents 84322c7 + 119e8c3 commit aeda4ed

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎bindata/operator/managers.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ spec:
8686
{{- end }}
8787
securityContext:
8888
runAsNonRoot: true
89+
seccompProfile:
90+
type: RuntimeDefault
8991
serviceAccountName: {{ .Name }}-operator-controller-manager
9092
terminationGracePeriodSeconds: 10
9193
tolerations:

‎config/operator/managers.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ spec:
8686
{{- end }}
8787
securityContext:
8888
runAsNonRoot: true
89+
seccompProfile:
90+
type: RuntimeDefault
8991
serviceAccountName: {{ .Name }}-operator-controller-manager
9092
terminationGracePeriodSeconds: 10
9193
tolerations:

0 commit comments

Comments
 (0)