about summary refs log tree commit diff
path: root/tools/elasticsearch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/elasticsearch')
-rw-r--r--tools/elasticsearch/values.yaml25
1 files changed, 16 insertions, 9 deletions
diff --git a/tools/elasticsearch/values.yaml b/tools/elasticsearch/values.yaml
index ace8365..d32eb02 100644
--- a/tools/elasticsearch/values.yaml
+++ b/tools/elasticsearch/values.yaml
@@ -10,16 +10,24 @@ elasticsearch:
   networkPolicy:
     http:
       enabled: true
-    additionalRules:
-    - podSelector:
-        matchLabels:
-          app.kubernetes.io/name: grafana
-    - podSelector:
-      matchLabels:
-        app.kubernetes.io/name: logstash
-        
+      additionalRules:
+        - from:
+            - podSelector:
+                matchLabels:
+                  app.kubernetes.io/name: logstash
+          ports:
+            - protocol: TCP
+              port: 9200
+        - from:
+            - podSelector:
+                matchLabels:
+                  app.kubernetes.io/name: grafana
+          ports:
+            - protocol: TCP
+              port: 9200
   labels:
     app.kubernetes.io/name: elasticsearch
+
 logstash:
   enabled: true
   replicas: 1
@@ -48,4 +56,3 @@ logstash:
       }
   labels:
     app.kubernetes.io/name: logstash
-