Skip to content

Commit c973f69

Browse files
committed
Move NetworkPolicies into a subdirectory
Follow up to operator-framework#1942 This moves the NetworkPolicies into a subdirectory from the manager config. It allows downstream to pick-and-choose what to pull in. Signed-off-by: Todd Short <[email protected]>
1 parent 061da6a commit c973f69

File tree

8 files changed

+14
-3
lines changed

8 files changed

+14
-3
lines changed

config/base/catalogd/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ resources:
66
- crd
77
- rbac
88
- manager
9+
- net

config/base/catalogd/manager/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
resources:
22
- manager.yaml
33
- service.yaml
4-
- network_policy.yaml
54
- webhook/manifests.yaml
65
apiVersion: kustomize.config.k8s.io/v1beta1
76
kind: Kustomization
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: olmv1-system
4+
# adding namePrefix will double the prefix
5+
resources:
6+
- network_policy.yaml

config/base/operator-controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ resources:
66
- crd
77
- rbac
88
- manager
9-
9+
- net

config/base/operator-controller/manager/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ kind: Kustomization
44
resources:
55
- manager.yaml
66
- service.yaml
7-
- network_policy.yaml
87

98
images:
109
- name: controller
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
namespace: olmv1-system
4+
# adding namePrefix will double the prefix
5+
resources:
6+
- network_policy.yaml

0 commit comments

Comments
 (0)