DEV-752 New network policy for ingress2miniopods
parent
60dcd9e9b2
commit
07a866bc00
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx2miniopods
|
||||||
|
# allow traffic from minio-operator NS to current NS across all ports
|
||||||
|
spec:
|
||||||
|
ingress:
|
||||||
|
- from:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: ingress
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: ingress-nginx
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
Loading…
Reference in New Issue