1
0
forked from k-space/kube

fix(camtiler): disable broken egress network policies

This commit is contained in:
Erki Aas 2024-02-22 12:43:14 +02:00
parent 51895a2a2b
commit 80ffdbbb80

View File

@ -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