Repository navigation
ci: pin tool versions, validate manifests, guard releases - #5
Merged
Merged
Conversation
Renovate tracks image tags in values.yaml, GitHub Actions digests, workflow tool pins, and mise tools. mise installs kubeconform and trufflehog locally. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
- Pin Helm, helm-unittest, and actions (by SHA) in CI and release. - Add kubeconform validation of ci/*-values.yaml renders against Kubernetes 1.26 and 1.37, with vendored CRD schemas. - Fail a release when the tag doesn't match Chart.yaml or the version is already published to GHCR. - just test now runs unit and manifest suites; docs target Helm 4. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI installed whatever Helm and helm-unittest were current that day, a release could overwrite a published chart version, and nothing checked rendered manifests against Kubernetes schemas.
This pins Helm, helm-unittest, and actions (by SHA), adds a kubeconform job over
ci/*-values.yamlfor Kubernetes 1.26 and 1.37, and stops a release when the tag doesn't matchChart.yamlor the version is already on GHCR. It also commitsrenovate.json(automerge off) and.mise.toml.Worth a look:
just testnow runs kubeconform too, so it needs kubeconform locally (mise install). Snapshots update withjust test unit -u.ci/schemas/. cloudflare-operator isn't in the datreeio catalog, so its v0.13.1 CRDs are converted with kubeconform's script.--verify=falsestays: Helm 4 only verifies tarball installs, and needs the maintainer's GPG key for it.Not verified: the release guards first run on the next tag, and Renovate's config validator ran out of memory locally.
just check: lint clean, 205 tests and 20 snapshots pass, kubeconform valid on all three values files.🤖 Generated with Claude Code
https://claude.ai/code/session_01Hb2hCaePpzvn8PfZCAjTPa