Skip to content

Commit b5af0bd

Browse files
committed
Adds network policy file changes to starter.go
1 parent 714e009 commit b5af0bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/operator/starter.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ func RunOperator(ctx context.Context, controllerConfig *controllercmd.Controller
9090
"rbac/node_privileged_binding.yaml",
9191
"rbac/secretproviderclasses_role.yaml",
9292
"rbac/secretproviderclasses_binding.yaml",
93+
"network-policy/allow-egress-to-api-server-operator.yaml",
94+
"network-policy/allow-egress-to-api-server-operand.yaml",
95+
"network-policy/allow-ingress-to-metrics-operator.yaml",
96+
"network-policy/allow-ingress-to-metrics-operand.yaml",
97+
"network-policy/deny-all-namespace.yaml",
9398
},
9499
func() bool {
95100
return getOperatorSyncState(operatorClient) == opv1.Managed

0 commit comments

Comments
 (0)