File tree 5 files changed +43
-1
lines changed
operator-controller/manager
5 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1
1
resources :
2
2
- manager.yaml
3
- - catalogd_service.yaml
3
+ - service.yaml
4
+ - network_policy.yaml
4
5
- webhook/manifests.yaml
5
6
apiVersion : kustomize.config.k8s.io/v1beta1
6
7
kind : Kustomization
Original file line number Diff line number Diff line change
1
+ apiVersion : networking.k8s.io/v1
2
+ kind : NetworkPolicy
3
+ metadata :
4
+ name : controller-manager
5
+ namespace : system
6
+ spec :
7
+ podSelector :
8
+ matchLabels :
9
+ control-plane : catalogd-controller-manager
10
+ policyTypes :
11
+ - Ingress
12
+ - Egress
13
+ ingress :
14
+ - ports :
15
+ - protocol : TCP
16
+ port : 7443 # metrics
17
+ - protocol : TCP
18
+ port : 8443 # catalogd http server
19
+ - protocol : TCP
20
+ port : 9443 # webhook
21
+ egress :
22
+ - {} # Allows all egress traffic (needed to pull catalog images from arbitrary image registries)
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ kind: Kustomization
4
4
resources :
5
5
- manager.yaml
6
6
- service.yaml
7
+ - network_policy.yaml
7
8
8
9
images :
9
10
- name : controller
Original file line number Diff line number Diff line change
1
+ apiVersion : networking.k8s.io/v1
2
+ kind : NetworkPolicy
3
+ metadata :
4
+ name : controller-manager
5
+ namespace : system
6
+ spec :
7
+ podSelector :
8
+ matchLabels :
9
+ control-plane : operator-controller-controller-manager
10
+ policyTypes :
11
+ - Ingress
12
+ - Egress
13
+ ingress :
14
+ - ports :
15
+ - protocol : TCP
16
+ port : 8443 # metrics
17
+ egress :
18
+ - {} # Allows all egress traffic (needed to pull bundle images from arbitrary image registries)
You can’t perform that action at this time.
0 commit comments