From 0495bb3709dd68b9aecd459cd4f2f1cb14fb8f87 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sat, 29 Jun 2024 00:34:17 +0300 Subject: allow grafana to see elasticsearch --- tools/elasticsearch/values.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'tools/elasticsearch') diff --git a/tools/elasticsearch/values.yaml b/tools/elasticsearch/values.yaml index 5d8df08..8037406 100644 --- a/tools/elasticsearch/values.yaml +++ b/tools/elasticsearch/values.yaml @@ -10,11 +10,23 @@ elasticsearch: labels: app.kubernetes.io/name: elasticsearch networkPolicy: - http: enabled: true - transport: - enabled: true - + allowExternal: false + ingress: + - 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 logstash: enabled: true replicas: 1 -- cgit 1.4.1-2-gfad0