about summary refs log tree commit diff
path: root/tools/loki-promtail
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/loki-promtail/values.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
index c351091..6e4e933 100644
--- a/tools/loki-promtail/values.yaml
+++ b/tools/loki-promtail/values.yaml
@@ -1,6 +1,28 @@
 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
   deploymentMode: SingleBinary
   loki:
     auth_enabled: false