about summary refs log tree commit diff
path: root/tools/elasticsearch/templates
diff options
context:
space:
mode:
Diffstat (limited to 'tools/elasticsearch/templates')
-rw-r--r--tools/elasticsearch/templates/network-policy.yaml27
1 files changed, 0 insertions, 27 deletions
diff --git a/tools/elasticsearch/templates/network-policy.yaml b/tools/elasticsearch/templates/network-policy.yaml
deleted file mode 100644
index 8665861..0000000
--- a/tools/elasticsearch/templates/network-policy.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: NetworkPolicy
-metadata:
-  name: allow-logstash-and-grafana-to-elasticsearch
-  namespace: monitoring
-spec:
-  podSelector:
-    matchLabels:
-      app.kubernetes.io/name: elasticsearch
-  policyTypes:
-    - Ingress
-  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
-