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