You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PodSecurityPolicy access to webhook's clusterrole
Deploying pipelines 0.12.0 into a cluster with pod security policy
enabled will result in the webhook deployment entering a failed state.
This happens because the webhook does not have the rights to use
pod security policies. In prior versions of Tekton the webhook
shared its clusterrole with the controller, and was granted much
broader permissions. Since 0.12.0 the permissions given to the
controller and webhook have been split. In splitting the permissions
the controller continued to received the PSP "use" permission but
the webhook did not; an oversight.
This commit adds the "use" verb for pod security policies to the
webhook clusterrole.
0 commit comments