diff --git a/templates/namespace.yaml b/templates/namespace.yaml index 36404a1b01..dc19617aa3 100644 --- a/templates/namespace.yaml +++ b/templates/namespace.yaml @@ -4,6 +4,10 @@ d8-{{ .Chart.Name }} {{- define "namespace.labels" }} prometheus.deckhouse.io/rules-watcher-enabled: "true" +{{- end }} + +{{/* add these labels back to namespace.labels when fix templates for privileged Pods */}} +{{- define "namespace.labels.disabled.temporarily" }} security.deckhouse.io/pod-policy: "restricted" security.deckhouse.io/enable-security-policy-check: "true" {{- end }}