Skip to content

Chart: generated Secrets (lookup + randAlphaNum) appear in rendered output and differ on each offline render #799

Backlog

Description

@ephico2real2

Part of #11. Found by reviewer 1 (Codex) on PR #791 and ruled chart-wide, not that PR's defect, by reviewer 2 (Fable) (docs/reviews/2026-12-01-issue-783/README.md).

What is wrong. deploy/helm/cmapi/templates/secrets.yaml generates six Secrets with lookup and randAlphaNum (the cursor and link keys, the Keycloak client secrets, the test users, the opt-in Git webhook secret). Helm: "The --dry-run flag will output all generated chart manifests, including Secrets which can contain sensitive values" (helm.sh, helm install). An offline render (helm template, Argo CD) has no cluster to look up, so each render mints new values; lines 1-5 of the template record that such a site creates the Secrets itself.

How to prove it. A chart test renders twice with no cluster and compares the generated values; another shows they appear in the output.

Research mandate. Fetch and quote Helm's and Argo CD's guidance on generated secrets (e.g. external-secrets, sealed secrets, helm.sh/resource-policy: keep) and choose one pattern for the whole chart. Low: the generation is documented, and the webhook's is off by default.

Activity

  1. added
    bug
    sev:low
    Backlog
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backlogbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions