File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 33
33
insecureSkipTLSVerify: true
34
34
EOF
35
35
36
+ kubectl apply -f - << EOF
37
+ apiVersion: v1
38
+ kind: ServiceAccount
39
+ metadata:
40
+ name: upgrade-e2e
41
+ namespace: default
42
+ EOF
43
+
44
+ kubectl apply -f - << EOF
45
+ apiVersion: rbac.authorization.k8s.io/v1
46
+ kind: ClusterRole
47
+ metadata:
48
+ name: upgrade-e2e
49
+ rules:
50
+ - apiGroups:
51
+ - "*"
52
+ resources:
53
+ - "*"
54
+ verbs:
55
+ - "*"
56
+ EOF
57
+
58
+ kubectl apply -f - << EOF
59
+ apiVersion: rbac.authorization.k8s.io/v1
60
+ kind: ClusterRoleBinding
61
+ metadata:
62
+ name: upgrade-e2e
63
+ subjects:
64
+ - kind: ServiceAccount
65
+ name: upgrade-e2e
66
+ namespace: default
67
+ roleRef:
68
+ apiGroup: rbac.authorization.k8s.io
69
+ kind: ClusterRole
70
+ name: upgrade-e2e
71
+ EOF
36
72
37
73
kubectl apply -f - << EOF
38
74
apiVersion: olm.operatorframework.io/v1alpha1
44
80
packageName: prometheus
45
81
version: 1.0.0
46
82
serviceAccount:
47
- name: default
83
+ name: upgrade-e2e
48
84
EOF
49
85
50
86
kubectl wait --for=condition=Unpacked --timeout=60s ClusterCatalog $TEST_CLUSTER_CATALOG_NAME
You can’t perform that action at this time.
0 commit comments