Skip to content

feat(helm): tls-chain-check test hook that fails on incomplete certificate chains - #3213

Open
benjaminshafii wants to merge 1 commit into
devfrom
feat/helm-tls-chain-check
Open

feat(helm): tls-chain-check test hook that fails on incomplete certificate chains#3213
benjaminshafii wants to merge 1 commit into
devfrom
feat/helm-tls-chain-check

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Context

A customer ingress served a leaf-only TLS chain; browsers masked it, the engine failed with UNABLE_TO_VERIFY_LEAF_SIGNATURE, and it cost the POC three weeks. helm test now catches it at deploy time.

Changes

  • templates/tests/tls-chain-check.yaml: helm.sh/hook: test Pod, emitted only when ingress.enabled + ingress.tls + tests.tlsChainCheck.enabled; counts certificates served per ingress host via openssl s_client -servername; fails with an actionable message naming the fullchain fix and the engine failure mode.
  • values.yaml: documented tests.tlsChainCheck block (enabled, overridable image for air-gapped clusters).
  • tests/tls-chain-check.sh: render harness asserting inclusion/exclusion and the failure-message string, following the existing tests/*.sh pattern.
  • README: "Verify TLS serving" (helm test usage + manual one-liner + fullchain.pem-not-cert.pem note).

Tests run

  • packaging/helm/openwork-ee/tests/tls-chain-check.sh — passed
  • packaging/helm/openwork-ee/tests/custom-ca.sh — passed (shared helpers unaffected)
  • helm lint packaging/helm/openwork-ee — 1 chart linted, 0 failed (helm v4.2.2)

No app UI surface — evidence is the harness/lint output above; fraimz not applicable.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Jul 27, 2026 11:45pm
openwork-den Ready Ready Preview, Comment Jul 27, 2026 11:45pm
openwork-den-worker-proxy Ready Ready Preview, Comment Jul 27, 2026 11:45pm
openwork-diagnostics Ready Ready Preview, Comment Jul 27, 2026 11:45pm
openwork-landing Ready Ready Preview, Comment, Open in v0 Jul 27, 2026 11:45pm

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

Successfully merging this pull request may close these issues.

2 participants