diff --git a/chart/templates/gatekeeper/values.yaml b/chart/templates/gatekeeper/values.yaml index e4af7e0318beb097dfc7ad5890ad535c5d1004c5..61fee1c578af82ae072416db214fbea8a1653c2f 100644 --- a/chart/templates/gatekeeper/values.yaml +++ b/chart/templates/gatekeeper/values.yaml @@ -109,12 +109,20 @@ violations: # Try to keep this in alpha order to make it easier to find keys {{- end }} {{- end }} - {{- if .Values.logging.enabled }} + {{- if or .Values.logging.enabled .Values.twistlock.enabled }} selinuxPolicy: + {{- if .Values.logging.enabled }} match: excludedNamespaces: # FluentBit needs selinux option type spc_t - logging + {{- end }} + {{- if .Values.twistlock.enabled }} + parameters: + excludedResources: + # Twistlock Defenders need selinux option type spc_t + - twistlock/twistlock-defender + {{- end }} {{- end }} {{- if or .Values.fluentbit.enabled (or .Values.twistlock.enabled .Values.monitoring.enabled) }} @@ -165,4 +173,4 @@ violations: # Try to keep this in alpha order to make it easier to find keys {{- end }} {{- end }} {{ toYaml $overlays }} -{{- end }} \ No newline at end of file +{{- end }}