Skip to content

Commit 97bf0c4

Browse files
committed
integration-resources Role in build-templates-e2e
There is a role application-manager created for konflux-integration-runner in order for E2E tests in rhtap-build-tenant namespace to have access to Applications. Since they also need access to Components, rename the Role too. Signed-off-by: Tomáš Nevrlka <[email protected]>
1 parent 583b0bf commit 97bf0c4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components/build-templates/base/e2e/role.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ rules:
6161
kind: Role
6262
apiVersion: rbac.authorization.k8s.io/v1
6363
metadata:
64-
name: application-manager
64+
name: integration-runner-resources
6565
namespace: build-templates-e2e
6666
rules:
6767
- apiGroups:
6868
- appstudio.redhat.com
6969
resources:
7070
- applications
71+
- components
7172
verbs:
7273
- get
7374
- list

components/build-templates/base/e2e/rolebinding.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ roleRef:
114114
apiVersion: rbac.authorization.k8s.io/v1
115115
kind: RoleBinding
116116
metadata:
117-
name: application-manager-konflux-integration-runner
117+
name: integration-runner-resources-konflux-integration-runner
118118
namespace: build-templates-e2e
119119
roleRef:
120120
apiGroup: rbac.authorization.k8s.io
121121
kind: Role
122-
name: application-manager
122+
name: integration-runner-resources
123123
subjects:
124124
- kind: ServiceAccount
125125
name: konflux-integration-runner

0 commit comments

Comments
 (0)