Skip to content

Commit 01b9d19

Browse files
committed
Update e2e to test NP support
1 parent 396aba0 commit 01b9d19

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/images/busybox-index/busybox/1.0.0/manifests/csv.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ spec:
3434
command:
3535
- sleep
3636
- "9000"
37+
permissions:
38+
- serviceAccountName: busybox-operator
39+
rules:
40+
- apiGroups: ["networking.k8s.io"]
41+
resources: ["networkpolicies"]
42+
verbs: ["get", "list", "create", "update", "delete"]
3743
strategy: deployment
3844
installModes:
3945
- supported: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: NetworkPolicy
3+
metadata:
4+
name: busybox-networkpolicy
5+
spec:
6+
podSelector: {}
7+
policyTypes:
8+
- Ingress

0 commit comments

Comments
 (0)