about summary refs log tree commit diff
path: root/tools/loki-promtail
diff options
context:
space:
mode:
Diffstat (limited to 'tools/loki-promtail')
-rw-r--r--tools/loki-promtail/values.yaml25
1 files changed, 3 insertions, 22 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
index 1e4bf32..e04ea55 100644
--- a/tools/loki-promtail/values.yaml
+++ b/tools/loki-promtail/values.yaml
@@ -1,28 +1,9 @@
 loki:
   networkPolicy:
     enabled: true
-    ingress:
-      - from:
-        - podSelector:
-          matchLabels:
-            app: grafana
-          ports:
-            - protocol: TCP
-              port: 3100
-      - from:
-        - podSelector:
-          matchLabels:
-            app: promtail
-          ports:
-            - protocol: TCP
-              port: 3100
-    egress:
-      - to:
-        - ipBlock:
-          cidr: 0.0.0.0/0
-          ports:
-            - protocol: TCP
-              port: 3100
+    namespaceSelector:
+      matchLabels:
+        name: monitoring
   deploymentMode: SingleBinary
   loki:
     auth_enabled: false