Skip to content

chart: helm template is not reproducible by default (the webhook CA and certificate are regenerated on every render) #1364

Closed

Description

@bpalermo

With default values the chart generates a self-signed webhook CA and serving certificate at render time, so two renders of the same chart and values differ (6 lines). Any before/after comparison of rendered manifests has to mask those four values or set controller.webhook.spire=true.

Consequences: a helm diff or GitOps diff always shows a change; an upgrade rewrites the webhook secret and CA bundle each time (check whether that also restarts the controller).

Options: reuse the existing secret with lookup when it exists; or document the masking recipe in the runbook next to the chart test notes.

Reported by the chart work for #1355 (PR #1360), not changed there.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Metadata

Metadata

Assignees

No one assigned

    Labels

    chartenhancementminor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions