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

webhook controller has a lot of messages error messages about missing cacert pem key #3159

Open
sarathkumarpgm opened this issue Mar 17, 2025 · 0 comments

Comments

@sarathkumarpgm
Copy link

sarathkumarpgm commented Mar 17, 2025

Hi i'm getting the cert missing issue in while installing sigstore/policy-controller, pods are not getting up due to this ca-cert.pem key missing issue.


installation command(disabled tuf to ignore tuf related issues).:
helm install policy-controller -n cosign-system sigstore/policy-controller --set webhook.extraArgs.disable-tuf=true

Error:

{
    "level": "error",
    "ts": "2025-03-17T10:24:43.777+0530",
    "logger": "policy-controller.policy.sigstore.dev",
    "caller": "controller/controller.go:566",
    "msg": "Reconcile error",
    "commit": "4a12093-dirty",
    "knative.dev/traceid": "6f1047a2-7636-4593-afba-34ee7774a663",
    "knative.dev/key": "policy.sigstore.dev",
    "duration": 0.000008288,
    "error": "secret \"webhook-certs\" is missing \"ca-cert.pem\" key",
    "stacktrace": "knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/[email protected]/controller/controller.go:566\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/[email protected]/controller/controller.go:543\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/[email protected]/controller/controller.go:491"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant