File tree Expand file tree Collapse file tree 4 files changed +102
-0
lines changed Expand file tree Collapse file tree 4 files changed +102
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : networking.k8s.io/v1
2+ kind : NetworkPolicy
3+ metadata :
4+ name : default-deny-all-traffic
5+ namespace : {{ .Values.namespace }}
6+ spec :
7+ podSelector : {}
8+ policyTypes :
9+ - Ingress
10+ - Egress
11+ ---
12+ apiVersion : networking.k8s.io/v1
13+ kind : NetworkPolicy
14+ metadata :
15+ name : olm-operator
16+ namespace : {{ .Values.namespace }}
17+ spec :
18+ podSelector :
19+ matchLabels :
20+ app : olm-operator
21+ ingress :
22+ - ports :
23+ - protocol : TCP
24+ port : 8080
25+ egress :
26+ - ports :
27+ - protocol : TCP
28+ port : 6443 # kube-api service
29+ - protocol : TCP
30+ port : 53 # DNS
31+ - protocol : UDP
32+ port : 53 # DNS
33+ policyTypes :
34+ - Ingress
35+ - Egress
36+ ---
37+ apiVersion : networking.k8s.io/v1
38+ kind : NetworkPolicy
39+ metadata :
40+ name : catalog-operator
41+ namespace : {{ .Values.namespace }}
42+ spec :
43+ podSelector :
44+ matchLabels :
45+ app : catalog-operator
46+ ingress :
47+ - ports :
48+ - protocol : TCP
49+ port : metrics
50+ egress :
51+ - ports :
52+ - protocol : TCP
53+ port : 6443 # kube-api server
54+ - protocol : TCP
55+ port : 50051 # catalog service
56+ - protocol : TCP
57+ port : 53 # DNS
58+ - protocol : UDP
59+ port : 53 # DNS
60+ policyTypes :
61+ - Ingress
62+ - Egress
63+ ---
64+ apiVersion : networking.k8s.io/v1
65+ kind : NetworkPolicy
66+ metadata :
67+ name : packageserver
68+ namespace : {{ .Values.namespace }}
69+ spec :
70+ podSelector :
71+ matchLabels :
72+ app : packageserver
73+ ingress :
74+ - ports :
75+ - protocol : TCP
76+ port : {{ .Values.package.service.internalPort }}
77+ egress :
78+ - ports :
79+ - protocol : TCP
80+ port : 50051 # catalog service
81+ - protocol : TCP
82+ port : 53 # DNS
83+ - protocol : UDP
84+ port : 53 # DNS
85+ policyTypes :
86+ - Ingress
87+ - Egress
88+ ---
89+ apiVersion : networking.k8s.io/v1
90+ kind : NetworkPolicy
91+ metadata :
92+ name : default-allow-all
93+ namespace : {{ .Values.operator_namespace }}
94+ spec :
95+ podSelector : {}
96+ policyTypes :
97+ - Ingress
98+ - Egress
99+ ingress :
100+ - {}
101+ egress :
102+ - {}
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments