Skip to content

Commit 05ed450

Browse files
jkhelilcursoragent
authored andcommitted
fix(rbac): add bind/escalate verbs for k8s install
The Kubernetes install manifests (Helm chart and kustomize base) lacked the bind/escalate verbs on clusterroles/roles that the OpenShift manifests already had. Without them, Kubernetes RBAC's self-escalation check blocks the operator from creating Pipelines-as-Code's aggregate ClusterRole, so its ServiceAccounts and Deployments are never created. Align the Kubernetes RBAC with the OpenShift RBAC by granting bind/escalate on clusterroles/roles. Verified by reproducing the failure with the v0.80.0 Helm chart on a kind cluster and confirming Pipelines-as-Code installs successfully once the verbs are added. Fixes #3682 Signed-off-by: Jawed khelil <jkhelil@redhat.com> Assisted-by: Claude Sonnet 5 (via Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4300f2e commit 05ed450

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

charts/tekton-operator/templates/kubernetes-rbac.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ rules:
155155
- delete
156156
- list
157157
- watch
158+
- bind
159+
- escalate
158160
- apiGroups:
159161
- ""
160162
resources:

config/base/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ rules:
127127
- delete
128128
- list
129129
- watch
130+
- bind
131+
- escalate
130132
- apiGroups:
131133
- ""
132134
resources:

0 commit comments

Comments
 (0)