File tree Expand file tree Collapse file tree
cloud-network-config-controller
network/ovn-kubernetes/managed Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ kind : NetworkPolicy
2+ apiVersion : networking.k8s.io/v1
3+ metadata :
4+ name : cloud-network-config-controller
5+ namespace : {{.HostedClusterNamespace}}
6+ spec :
7+ podSelector :
8+ matchLabels :
9+ app : cloud-network-config-controller
10+ policyTypes :
11+ - Egress
12+ egress :
13+ # CNCC needs access to apiserver and cloud APIs, possibly via a proxy... for now we
14+ # just allow all egress.
15+ - {}
Original file line number Diff line number Diff line change 1+ kind : NetworkPolicy
2+ apiVersion : networking.k8s.io/v1
3+ metadata :
4+ name : cloud-network-config-controller
5+ namespace : openshift-cloud-network-config-controller
6+ spec :
7+ podSelector :
8+ matchLabels :
9+ app : cloud-network-config-controller
10+ policyTypes :
11+ - Egress
12+ egress :
13+ # CNCC needs access to apiserver and cloud APIs, possibly via a proxy... for now we
14+ # just allow all egress.
15+ - {}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ kind: NetworkPolicy
22apiVersion : networking.k8s.io/v1
33metadata :
44 name : ovn-kubernetes
5- namespace : openshift-ovn-kubernetes
5+ namespace : {{.HostedClusterNamespace}}
66spec :
77 podSelector :
88 matchLabels :
Original file line number Diff line number Diff line change @@ -14,3 +14,16 @@ metadata:
1414 openshift.io/node-selector : " "
1515 openshift.io/description : " OpenShift cloud network config controller namespace - a controller used to manage cloud-level network configuration"
1616 workload.openshift.io/allowed : " management"
17+ ---
18+ kind : NetworkPolicy
19+ apiVersion : networking.k8s.io/v1
20+ metadata :
21+ name : default-deny
22+ namespace : openshift-cloud-network-config-operator
23+ spec :
24+ podSelector : {}
25+ policyTypes :
26+ - Ingress
27+ - Egress
28+ ingress : []
29+ egress : []
You can’t perform that action at this time.
0 commit comments