about summary refs log tree commit diff
path: root/tools/loki-promtail
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 16:58:56 +0200
committermakefunstuff <[email protected]>2024-06-29 16:58:56 +0200
commit085a1e6cab5a79fa533f051b166f3b6bebfb5844 (patch)
tree812dfeaa70be10b5d0ff0edc1a1f498af274b18a /tools/loki-promtail
parenta19205fead75038af4ab14290b24a472f0ecb28f (diff)
downloadk3s-lab-085a1e6cab5a79fa533f051b166f3b6bebfb5844.tar.gz
upd
Diffstat (limited to '')
-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