Upgrade almost all operator dependencies#838
Merged
Merged
Conversation
Bump the Kubebuilder runtime/tooling dependencies to latest while keeping
the existing go.kubebuilder.io/v3 project layout:
- sigs.k8s.io/controller-runtime: v0.19.4 -> v0.24.1
- k8s.io/{api,apimachinery,client-go}: v0.31.3 -> v0.36.2
- github.com/cert-manager/cert-manager: v1.15.4 -> v1.20.2
- helm.sh/helm/v3: v3.16.4 -> v3.21.2
- ENVTEST_K8S_VERSION: 1.25.0 -> 1.36.0 (was lagging the runtime libs)
No operator source changes were required. Regenerated CRDs (config/crd
+ helm mirror) grow additively from the embedded core/v1 types picking up
new fields across k8s 1.31->1.36; no changes to the operator's own API
schema. controller-gen left at v0.16.4 (bumping is an optional follow-up).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
k8s 1.36's apiserver enforces validation that the previous envtest assets
(1.25) did not, surfacing two stale fixtures (operator code unchanged):
- testTolerations used Operator=Exists with a non-empty Value, which is
rejected ("value must be empty when operator is Exists"). Switched to
Operator=Equal, preserving the dedicated=solrclouds:NoSchedule intent.
- The two persistent-storage PVC template fixtures omitted
spec.resources.requests.storage, now a required value for StatefulSet
volumeClaimTemplates. Added a 5Gi request to each.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… have different dependencies
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.
Both go dependencies and tool dependencies