diff --git a/components/build-service/base/rbac/build-config.yaml b/components/build-service/base/rbac/build-config.yaml index bd04b8e9264..4e8384417d4 100644 --- a/components/build-service/base/rbac/build-config.yaml +++ b/components/build-service/base/rbac/build-config.yaml @@ -13,3 +13,17 @@ roleRef: kind: Role name: build-pipeline-config-read-only apiGroup: rbac.authorization.k8s.io +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: view-konflux-integration-runner + namespace: build-service +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: view +subjects: +- kind: ServiceAccount + name: konflux-integration-runner + namespace: rhtap-build-tenant diff --git a/components/build-templates/base/e2e/role.yaml b/components/build-templates/base/e2e/role.yaml index 430bd4e19f9..7ff23178b1a 100644 --- a/components/build-templates/base/e2e/role.yaml +++ b/components/build-templates/base/e2e/role.yaml @@ -61,13 +61,14 @@ rules: kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: application-manager + name: integration-runner-resources namespace: build-templates-e2e rules: - apiGroups: - appstudio.redhat.com resources: - applications + - components verbs: - get - list diff --git a/components/build-templates/base/e2e/rolebinding.yaml b/components/build-templates/base/e2e/rolebinding.yaml index 1554df0fa25..d888a6066e6 100644 --- a/components/build-templates/base/e2e/rolebinding.yaml +++ b/components/build-templates/base/e2e/rolebinding.yaml @@ -114,12 +114,12 @@ roleRef: apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: application-manager-konflux-integration-runner + name: integration-runner-resources-konflux-integration-runner namespace: build-templates-e2e roleRef: apiGroup: rbac.authorization.k8s.io kind: Role - name: application-manager + name: integration-runner-resources subjects: - kind: ServiceAccount name: konflux-integration-runner