Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kyverno is blocking updates to chains #425

Open
sudo-bmitch opened this issue Apr 5, 2023 · 0 comments
Open

Kyverno is blocking updates to chains #425

sudo-bmitch opened this issue Apr 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sudo-bmitch
Copy link
Contributor

Bug Report

Kyverno is blocking an update to the chains controller.

Current Behavior

$ kubectl rollout restart -n tekton-chains deployment tekton-chains-controller                                                                                                                                     
error: failed to patch: admission webhook "validate.kyverno.svc-fail" denied the request:                                                                                                                          
                                                                                                                                                                                                                   
policy Deployment/tekton-chains/tekton-chains-controller for resource violation:                                                                                                                                   
                                                                                                                                                                                                                   
verify-image:                                                                                            
  autogen-verify-image: image is not verified 

Expected Behavior

A restart of chains should succeed.

Possible Solution

Fix kyverno, or switch to sigstore/policy-controller.

Steps to Reproduce

kubectl rollout restart -n tekton-chains deployment tekton-chains-controller                                                                                                                                     

Context

I can't restart chains after adjusting the config.

Your Environment

Last commit:
  5688ad8 Merge branch 'main' into tekton-chains-v0.15.0  (HEAD -> pr-411, upstream/tekton-chains-v0.15.0)
Kubernetes:
  Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.3", GitCommit:"aef86a93758dc3cb2c658dd9657ab4ad4afc21cb", GitTreeState:"clean", BuildDate:"2022-07-13T14:30:46Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.3", GitCommit:"aef86a93758dc3cb2c658dd9657ab4ad4afc21cb", GitTreeState:"clean", BuildDate:"2022-07-13T14:23:26Z", GoVersion:"go1.18.3", Compiler:"gc", Platform:"linux/amd64"}
Tekton:
  Client version: 0.30.0
Chains version: v0.15.0
Pipeline version: v0.41.0
Triggers version: v0.22.0
@sudo-bmitch sudo-bmitch added the bug Something isn't working label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant