about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 00:08:41 +0200
committermakefunstuff <[email protected]>2024-06-29 00:08:41 +0200
commitb4d508ca5ee6add79777c0b71fda61b15a24b1ed (patch)
tree266a7c8300854d1bb826ebd3acea9ca0f2205697
parentbdd1dfd0cc26d76d77d84563c788be08caf0bfda (diff)
downloadk3s-lab-b4d508ca5ee6add79777c0b71fda61b15a24b1ed.tar.gz
indent
Diffstat (limited to '')
-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
-