diff --git a/chart/templates/gatekeeper/values.yaml b/chart/templates/gatekeeper/values.yaml index fb1197a5a583ed406e9e359d3d5ee3b2d5e39059..6ba1ecc20f7cf9c6ed4a317789a2b76f4a9634ea 100644 --- a/chart/templates/gatekeeper/values.yaml +++ b/chart/templates/gatekeeper/values.yaml @@ -36,16 +36,18 @@ violations: # Try to keep this in alpha order to make it easier to find keys {{- if or .Values.monitoring.enabled .Values.fluentbit.enabled }} allowedHostFilesystem: + {{- if .Values.monitoring.enabled }} match: excludedNamespaces: - {{- if .Values.monitoring.enabled }} # Prometheus-node-exporter needs access to host to get node metrics - monitoring - {{- end }} - {{- if .Values.fluentbit.enabled }} + {{- end }} + {{- if .Values.fluentbit.enabled }} + parameters: + excludedResources: # Fluentbit pods need access to host to get log files - - logging - {{- end }} + - logging/logging-fluent-bit-.* + {{- end }} {{- end }} {{- if .Values.addons.mattermost.enabled }}