Skip to content

sigstore-policy-controller has a lot of error messages about missing cacert pem key #1801

Open
@sarathkumarpgm

Description

@sarathkumarpgm

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

installation command used (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"
}

Has there been any related work before?
Any relevant links or material?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions