Skip to content

DNM : Test/dep/secretgen v0.36 bump - #746

Open
sameerforge wants to merge 6 commits into
carvel-dev:developfrom
sameerforge:test/dep/secretgen-v0.36-bump
Open

DNM : Test/dep/secretgen v0.36 bump#746
sameerforge wants to merge 6 commits into
carvel-dev:developfrom
sameerforge:test/dep/secretgen-v0.36-bump

Conversation

@sameerforge

Copy link
Copy Markdown
Contributor

No description provided.

sameerforge and others added 6 commits May 18, 2026 15:29
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Adapt to breaking API changes in controller-runtime v0.24:
- Replace struct `&source.Kind{Type: obj}` + handler with function
  `source.Kind[client.Object](cache, obj, handler)` and pass single
  source to controller.Watch
- Replace `&handler.EnqueueRequestForOwner{OwnerType: ...}` struct with
  `handler.EnqueueRequestForOwner(scheme, mapper, ownerType, opts...)`
  function; update AttachWatches signature to accept manager.Manager
  so cache/scheme/mapper are available
- Add context.Context first param to MapFunc signatures
- Update custom EventHandler methods (enqueueSecretExportToSecret,
  enqueueDueToNamespaceChange) to use TypedRateLimitingInterface[Request]
- Remove deleted sigs.k8s.io/controller-runtime/pkg/ratelimiter import;
  use workqueue.TypedRateLimiter[reconcile.Request] and
  workqueue.DefaultTypedControllerRateLimiter / NewTypedItemExponentialFailureRateLimiter
- Update manager.Options: replace Namespace+MetricsBindAddress fields
  with Cache.DefaultNamespaces and Metrics.BindAddress
- Fix tests: register status subresources on fake client builder and
  clear TypeMeta from Secret comparisons (fake client no longer sets it)

Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Daman Arora <daman.arora@broadcom.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Update Dockerfile base image from golang:1.25.7 to golang:1.26 to
  match the go.mod requirement (k8s.io v0.36 requires Go 1.26)
- Add missing godoc comments on exported AttachWatches methods in
  sharing reconcilers to satisfy the revive linter

Signed-off-by: Daman Arora <daman.arora@broadcom.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Sameer <sameer.khan@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants