Repository navigation
fix(deps): update module github.com/giantswarm/gitops-commit to v0.13.0 - #377
Merged
Merged
Conversation
Published Helm chart
|
| Chart | cluster-manager |
| Version | 0.40.4-r1584d102t20261203113315h4fc7dc4 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager:0.40.4-r1584d102t20261203113315h4fc7dc4 |
| Digest | sha256:cf7cacfa9aa3f10c0e6177676bdfa294bad6edcfcfdb61d090ba66630af00f29 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager --version 0.40.4-r1584d102t20261203113315h4fc7dc4Posted by architect-orb · build 5875 · commit 4fc7dc4 · updated in place on every push
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.
Part of giantswarm/giantswarm#39600
Problem
cluster-manager uses gitops-commit v0.12.1. giantswarm/giantswarm#39600 wants one gitops-commit version in every consumer, and the current stable is v0.13.0.
Change
github.com/giantswarm/gitops-commitv0.12.1 -> v0.13.0 ingo.modandgo.sum. No other module moves.target.NewFluxRemote(cluster-manager does not use it) and one visible change intarget.NewFlux, which cluster-manager uses.spec.kubeConfig.secretRefonly on HelmReleases (deliversElsewhereininternal/detect/detect.go,kubeconfigSecretOfininternal/tools/cluster_delete.go). No code reads a Kustomization'sspec.kubeConfignext to the resolver, so nothing disagrees with the new rule.docs/commit-mode.mdalready says "A Kustomization that applies to another cluster (spec.kubeConfig)". The rule now matches it exactly.What changes for a user
An object whose
kustomize.toolkit.fluxcd.io/*labels name a Kustomization that applies throughspec.kubeConfig.configMapRefis no longer taken as applied from git on cluster-manager's own cluster. Before, onlyspec.kubeConfig.secretRefcounted as another cluster.commitTargetis empty). The tool refuses mode commit and tells you to use mode apply.delete_node_pool, the leftovers pass ofdelete_cluster, anddelete_cluster's delete of the cluster's own Kustomization after its removal was merged. A Kustomization withsecretRefalready takes these paths.The owner decided on 2026-12-03 to keep this rule: any
spec.kubeConfigcounts as another cluster. No installation has a Kustomization withconfigMapRef.Tests
go build ./...,go test -p 2 ./..., golangci-lint and pre-commit pass. No test changes: no test has a Kustomization withconfigMapRef. gitops-commit's owntarget/flux_test.gopins the new rule.Review
configMapRefnow givesErrNotApplied, somergedRemovaland the otherinGitcallers write or delete live where v0.12.1 refused. This is harmful only when theconfigMapRefnames Flux's own cluster. "What changes for a user" names these paths.The second review (Codex) was skipped: the change is small (6 lines).