From 80ffdbbb80dfadb5c56d4bf6e9384e5a59bdbfe5 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Thu, 22 Feb 2024 12:43:14 +0200 Subject: [PATCH] fix(camtiler): disable broken egress network policies --- camtiler/network-policies.yml | 42 ++--------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/camtiler/network-policies.yml b/camtiler/network-policies.yml index 0029a52..c1fd633 100644 --- a/camtiler/network-policies.yml +++ b/camtiler/network-policies.yml @@ -9,7 +9,7 @@ spec: component: camera-motion-detect policyTypes: - Ingress - - Egress +# - Egress # Something wrong with using minio-clusters as namespaceSelector. ingress: - from: - podSelector: @@ -87,7 +87,7 @@ spec: component: logmower-eventsource policyTypes: - Ingress - - Egress +# - Egress # Something wrong with using mongodb-svc as podSelector. egress: - to: - podSelector: @@ -152,41 +152,3 @@ spec: podSelector: matchLabels: app.kubernetes.io/name: traefik ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: minio -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: minio - policyTypes: - - Ingress - - Egress - egress: - - ports: - - port: http - to: - - podSelector: - matchLabels: - app.kubernetes.io/name: minio - ingress: - - ports: - - port: http - from: - - podSelector: {} - - from: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: traefik - podSelector: - matchLabels: - app.kubernetes.io/name: traefik - - from: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: monitoring - podSelector: - matchLabels: - app.kubernetes.io/name: prometheus