Commit 05ed450
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
158 | 160 | | |
159 | 161 | | |
160 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
0 commit comments