Set an explicit command for the certificates and cfssl-self-sign containers

What does this MR do?

The certificates and cfssl-self-sign containers set no command, so the chart relies on an undocumented image CMD. Images without one, such as the hardened nix images, fail every Pod with no command specified.

  • Run /scripts/bundle-certificates and /scripts/generate-certificates explicitly.
  • Document the certificates image contract in the developer docs, link it from the custom CA docs, and add a 10.6.0 upgrade note.
  • Mount the self-signed wildcard CA as cfssl_ca.crt. Debian's update-ca-certificates only reads *.crt, so the chart's own CA was missing from the Debian trust store.

A custom certificates image must now provide /scripts/bundle-certificates. command also skips the image entrypoint, which bundle-certificates does not need.

Testing

On a fresh kind cluster with cert-manager disabled and a custom CA:

  • The selfsign Job and every certificates init container completed.
  • The trust store contains both CAs, and certificates signed by them verify.
  • With the Debian, UBI and FIPS certificates images, the init container succeeds. Only Debian dropped the self-signed CA before this change.

The nix images also need hardened-builds !254 (merged) and !256 (merged).

Closes #6729 (closed)

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated.
  • Have you validated that your change works end-to-end on a real cluster deployment?
    • Describe how you did it in a comment. (See Testing above.)
  • Equivalent MR/issue for omnibus-gitlab opened. (Not applicable: chart-only change.)
  • When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.

Reviewers checklist

🤖 Generated with Claude Code

Edited by Clemens Beck

Merge request reports

Loading
Loading