mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
add(ingress-external): netpol
This commit is contained in:
parent
e88168dfc8
commit
b456be4011
1 changed files with 15 additions and 0 deletions
15
projects/ingress-external/manifest/netpol.yaml
Normal file
15
projects/ingress-external/manifest/netpol.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-external-only
|
||||||
|
namespace: ingress-external
|
||||||
|
spec:
|
||||||
|
podSelector: {}
|
||||||
|
policyTypes:
|
||||||
|
- Egress
|
||||||
|
egress:
|
||||||
|
- to:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
environment: external
|
||||||
|
|
Loading…
Reference in a new issue