Skip to content

Commit d7cdbc3

Browse files
authored
Switch Rollouts tests to sequential, change Role to ClusterRole (#696)
Signed-off-by: Jonathan West <[email protected]>
1 parent 4b16a41 commit d7cdbc3

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

test/openshift/e2e/parallel/1-100_validate_rollouts_resources_creation/01-assert.yaml renamed to test/openshift/e2e/sequential/1-100_validate_rollouts_resources_creation/01-assert.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ metadata:
55
name: argo-rollouts
66
---
77
apiVersion: rbac.authorization.k8s.io/v1
8-
kind: Role
8+
kind: ClusterRole
99
metadata:
1010
name: argo-rollouts
1111
---
12-
kind: RoleBinding
12+
kind: ClusterRoleBinding
1313
apiVersion: rbac.authorization.k8s.io/v1
1414
metadata:
1515
name: argo-rollouts
File renamed without changes.
File renamed without changes.

test/openshift/e2e/parallel/1-101_validate_rollout_policyrules/01-assert.yaml renamed to test/openshift/e2e/sequential/1-101_validate_rollout_policyrules/01-assert.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
apiVersion: rbac.authorization.k8s.io/v1
3-
kind: Role
3+
kind: ClusterRole
44
metadata:
5-
name: argo-rollouts
65
labels:
76
app.kubernetes.io/component: argo-rollouts
87
app.kubernetes.io/name: argo-rollouts
98
app.kubernetes.io/part-of: argo-rollouts
9+
name: argo-rollouts
1010
rules:
1111
- apiGroups:
1212
- argoproj.io
@@ -220,4 +220,15 @@ rules:
220220
verbs:
221221
- watch
222222
- get
223-
- update
223+
- update
224+
- apiGroups:
225+
- route.openshift.io
226+
resources:
227+
- routes
228+
verbs:
229+
- create
230+
- watch
231+
- get
232+
- update
233+
- patch
234+
- list
File renamed without changes.

0 commit comments

Comments
 (0)