adding seccomp to crd-delete job

pull/2695/head
Diogo Souza 2023-06-01 20:04:30 -03:00
parent b738862f38
commit 20ee59fb75
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@
+{{- end -}}
+{{- end -}}
+
+{{/*
{{/*
+Windows cluster will add default taint for linux nodes,
+add below linux tolerations to workloads could be scheduled to those linux nodes
+*/}}
@ -27,7 +27,7 @@
+kubernetes.io/os: linux
+{{- end -}}
+
{{/*
+{{/*
Output post install webhook probe container entry
*/}}
{{- define "gatekeeper.postInstallWebhookProbeContainer" -}}

View File

@ -81,6 +81,8 @@ spec:
securityContext:
runAsNonRoot: true
runAsUser: 1000
seccompProfile:
type: RuntimeDefault
initContainers:
- name: remove-finalizers
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}