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