From d1ed58dcce206ca531efec59a649d050a3aeb879 Mon Sep 17 00:00:00 2001
From: Ernest Chuang <echuang@revacomm.com>
Date: Mon, 9 Aug 2021 14:12:09 -0500
Subject: [PATCH] removed hostnetworking exception from monitoring

---
 chart/templates/gatekeeper/values.yaml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/chart/templates/gatekeeper/values.yaml b/chart/templates/gatekeeper/values.yaml
index 443ed1242c..15782002e4 100644
--- a/chart/templates/gatekeeper/values.yaml
+++ b/chart/templates/gatekeeper/values.yaml
@@ -30,13 +30,6 @@ violations:  # Try to keep this in alpha order to make it easier to find keys
         - init-check-database # mattermost needs postgres:13 image and cannot override the upstream
     {{- end }}
 
-  {{- if .Values.monitoring.enabled }}
-  hostNetworking:
-    match:
-      excludedNamespaces:
-        - monitoring # Allow node exporter to export metrics. The exporters live in pod monitoring-monitoring-prometheus-node-exporter-XXXX
-  {{- end }}
-
   {{- if .Values.addons.mattermost.enabled }}
   httpsOnly:
     match:
-- 
GitLab