about summary refs log tree commit diff
path: root/tools/prometheus/templates/network-policy.yaml
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-29 17:10:42 +0200
committermakefunstuff <[email protected]>2024-06-29 17:10:42 +0200
commit2435ad905abd5c94df2be8dd2f995f0353e0e459 (patch)
treee3f248c5a20887e93b9d301f8c11a592c461ec51 /tools/prometheus/templates/network-policy.yaml
parent085a1e6cab5a79fa533f051b166f3b6bebfb5844 (diff)
downloadk3s-lab-2435ad905abd5c94df2be8dd2f995f0353e0e459.tar.gz
eck operator
Diffstat (limited to '')
-rw-r--r--tools/prometheus/templates/network-policy.yaml21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/prometheus/templates/network-policy.yaml b/tools/prometheus/templates/network-policy.yaml
deleted file mode 100644
index 981d050..0000000
--- a/tools/prometheus/templates/network-policy.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: NetworkPolicy
-metadata:
-  name: allow-grafana-to-prometheus
-  namespace: monitoring
-spec:
-  podSelector:
-    matchLabels:
-      app.kubernetes.io/name: prometheus
-  policyTypes:
-    - Ingress
-  ingress:
-    - from:
-        - podSelector:
-            matchLabels:
-              app.kubernetes.io/name: grafana
-      ports:
-        - protocol: TCP
-          port: 9090
-        - protocol: TCP
-          port: 80