From 3c031e196b6317d49cfb7a493cab73d23fbe078d Mon Sep 17 00:00:00 2001 From: Micah Nagel <micah.nagel@parsons.com> Date: Wed, 1 Sep 2021 14:55:26 +0000 Subject: [PATCH] Update chart/templates/gatekeeper/values.yaml --- chart/templates/gatekeeper/values.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chart/templates/gatekeeper/values.yaml b/chart/templates/gatekeeper/values.yaml index b395e45fc0..fb1197a5a5 100644 --- a/chart/templates/gatekeeper/values.yaml +++ b/chart/templates/gatekeeper/values.yaml @@ -34,12 +34,18 @@ 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: match: excludedNamespaces: + {{- if .Values.monitoring.enabled }} # Prometheus-node-exporter needs access to host to get node metrics - monitoring + {{- end }} + {{- if .Values.fluentbit.enabled }} + # Fluentbit pods need access to host to get log files + - logging + {{- end }} {{- end }} {{- if .Values.addons.mattermost.enabled }} -- GitLab