This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 159
build webhook pod reports "webhook.build.knative.dev" is forbidden: cannot set blockOwnerDeletion" #523
Comments
Workaround is to edit the clusterrole generated and add the following missing rule
|
The webhook pod is starting but is now reporting such error now
|
When a build is created, then the serviceaccount used by the build's pod created by the operator populates the same error
|
hrishin
added a commit
to hrishin/tekton-pipeline
that referenced
this issue
Mar 5, 2019
When `taskruns` or `pipelineruns` instance is created, build pod creation fails with following error `tekton-pipelines-controller` service account. ``` 'pods "hello-task-64f24-r9sgt" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: no RBAC policy matched, <nil>' ``` This patch fixes the required permission for `tekton-pipelines-admin` role, so controller could set required metadata on build pod. Fixes - knative/build#523
3 tasks
knative-prow-robot
pushed a commit
to tektoncd/pipeline
that referenced
this issue
Mar 6, 2019
When `taskruns` or `pipelineruns` instance is created, build pod creation fails with following error `tekton-pipelines-controller` service account. ``` 'pods "hello-task-64f24-r9sgt" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: no RBAC policy matched, <nil>' ``` This patch fixes the required permission for `tekton-pipelines-admin` role, so controller could set required metadata on build pod. Fixes - knative/build#523
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
Knative build pod should start without error
Actual Behavior
When the Knative build of webhoek starts then it generates this error
Steps to Reproduce the Problem
Additional Info
Version used: k8s 1.11, openshift 3.11
Knative Build release: 0.2.0
The text was updated successfully, but these errors were encountered: