Skip to content

Releases: kubernetes-sigs/controller-runtime

v0.23.3

05 Mar 14:26
f9589b9

Choose a tag to compare

What's Changed

Full Changelog: v0.23.2...v0.23.3

v0.23.2

05 Mar 09:47
8122a62

Choose a tag to compare

What's Changed

Full Changelog: v0.23.1...v0.23.2

v0.23.1

26 Jan 18:23
f52bbb8

Choose a tag to compare

What's Changed

Full Changelog: v0.23.0...v0.23.1

v0.23.0

19 Jan 14:35
129853d

Choose a tag to compare

🔆 Highlights

  • Client: Add subresource Apply support by @alvaroaleman in #3321
  • Conversion: Enable implementation of conversion outside of API packages by @sbueringer in #3335
  • Priorityqueue: Various improvements, bug fixes and now enabled per default
  • Webhooks: Generic Validator and Defaulter by @alvaroaleman in #3360

⚠️ Breaking changes

  • Dependencies: Update to k8s.io/* v1.35 by @alvaroaleman @dongjiang1989 @kannon92 (#3316, #3349, #3386, #3391, #3401)
  • Client: Add subresource Apply support by @alvaroaleman in #3321
  • Events: Migration to the new events API by @clebs in #3262
    • Using the new GetEventRecorderFor requires updating your rbac for events to use the events.k8s.io apiGroup rather than the `` (core) apiGroup
  • Fakeclient: Set ResourceVersion for SSA Create by @alvaroaleman in #3311
  • Webhooks: Generic Validator and Defaulter by @alvaroaleman in #3360
    • Existing code of the form builder.WebhookManagedBy(mgr).For(&corev1.Deployment{}) has to be changed to builder.WebhookManagedBy(mgr, &appsv1.Deployment{})
    • Existing webhook implementations have to be changed to take the concrete object rather than runtime.Object, for example from ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error) to ValidateCreate(ctx context.Context, obj *appsv1.Deployment) (admission.Warnings, error)

✨ Features

  • Cache: Allow fine-granular SyncPeriod configuration by @sbueringer in #3376
  • Client: Add FieldOwner option to client.Options by @aerfio in #3389
  • Client: Add FieldValidation option to client.Options by @aerfio in #3393
  • Conversion: Enable implementation of conversion outside of API packages by @sbueringer in #3335
  • Metrics: Add controller_runtime_reconcile_timeouts_total metric to track ReconciliationTimeout timeouts by @godwinpang in #3382
  • Priorityqueue: Add optional Priority field to reconcile.Result by @sbueringer in #3333
  • Priorityqueue: Enable per default by @sbueringer in #3332
  • Priorityqueue: Use a buffer to optimize priority queue AddWithOpts performance by @zach593 in #3415
  • Source/Kind: Delay reconciliation until handlers sync by @GonzaloLuminary in #3406
  • Webhooks: Add WithContextFunc to WebhookBuilder by @dmvolod in #3324

🐛 Bugfixes

  • Client: Allow SSA after normal resource creation by @filipcirtog in #3346
  • Client: Fix List in namespaced client to list objects that are cluster scoped by @troy0820 in #3351 #3353
  • Envtest: Respect pre-configured binary paths in ControlPlane by @mzhaom in #3372
  • Fakeclient: Fix a number of bugs when updating through apply by @alvaroaleman in #3319
  • FakeClient: Fix Apply with Unstructured ApplyConfiguration and resourceVersion unset by @sbueringer in #3403
  • Fakeclient: Fix SSA after List with non-list kind by @sbueringer in #3364
  • Fakeclient: Panic when trying to build more than one instance of fake.ClientBuilder by @troy0820 in #3314
  • Leaderelection: Copy all parent context values to leader elector's context by @msudheendra-cflt in #3327
  • Metrics: Adding missing exponential buckets on webhook native histogram by @brito-rafa in #3411
  • Priorityqueue: Do FIFO ordering within priorities and not across by @zach593 in #3408
  • Priorityqueue: Don't block on Get when queue is shutdown (2nd try) by @sbueringer in #3337
  • Priorityqueue: Ensure priority queue always returns high-priority items first by @moritzmoe in #3330
  • Priorityqueue: Fix TestWhenAddingMultipleItemsWithRatelimitTrueTheyDontAffectEachOther by @zach593 in #3395
  • Priorityqueue: Limit depthWithPriorityMetric cardinality to 25 by @alvaroaleman #3419
  • Priorityqueue: Properly sync the waiter manipulation by @fossedihelm in #3368
  • setup-envtest: Select the newest Kubernetes by default by @cbandy in #3380
  • testing/addr: Prevent possible leak by avoiding defer in loop by @s-z-z in #3367

🌱 Other

📖 Documentation

Dependencies

Added

  • github.com/Masterminds/semver/v3: v3.4.0
  • github.com/gkampitakis/ciinfo: v0.3.2
  • github.com/gkampitakis/go-diff: v1.3.2
  • github.com/gkampitakis/go-snaps: v0.5.15
  • github.com/goccy/go-yaml: v1.18.0
  • github.com/joshdk/go-junit: v1.0.0
  • github.com/maruel/natural: v1.1.1
  • github.com/mfridman/tparse: v0.18.0
  • github.com/tidwall/gjson: v1.18.0
  • github.com/tidwall/match: v1.1.1
  • github.com/tidwall/pretty: v1.2.1
  • github.com/tidwall/sjson: v1.2.5
  • go.uber.org/automaxprocs: v1.6.0
  • golang.org/x/tools/go/expect: v0.1.0-deprecated
  • golang.org/x/tools/go/pack...
Read more

v0.22.5

19 Jan 14:49
e8e550f

Choose a tag to compare

What's Changed

Full Changelog: v0.22.4...v0.22.5

v0.22.4

03 Nov 14:17
7a1b16d

Choose a tag to compare

What's Changed

Full Changelog: v0.22.3...v0.22.4

v0.22.3

10 Oct 21:41
3e8b259

Choose a tag to compare

What's Changed

Full Changelog: v0.22.2...v0.22.3

v0.22.2

06 Oct 16:56
7fb34b5

Choose a tag to compare

What's Changed

Full Changelog: v0.22.1...v0.22.2

v0.22.1

08 Sep 13:07
6422ed0

Choose a tag to compare

What's Changed

Full Changelog: v0.22.0...v0.22.1

v0.22.0

28 Aug 05:47
fc84a60

Choose a tag to compare

🔆 Highlights

⚠️ Breaking changes

✨ Features

  • Client: Add UnsafeDisableDeepCopy to GetOptions by @jonathan-innis in #3227
  • Controller: Add a ReconciliationTimeout option by @alvaroaleman in #3296
  • Controller: Implement warmup support for controllers by @godwinpang in #3192
  • Envtest: Allow selection of binaries version by release series by @cbandy in #3280
  • Manager: Add support for custom labels on leader election leases by @DerekFrank in #3237
  • Priorityqueue: WithLowPriorityWhenUnchanged: Set Priority for all add methods by @alvaroaleman in #3290
  • Webhooks: Handle panics during conversion more gracefully by @sbueringer in #3278

🐛 Bugfixes

🌱 Other

📖 Documentation

Dependencies

Added

  • github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp: v1.26.0
  • github.com/envoyproxy/go-control-plane/envoy: v1.32.4
  • github.com/envoyproxy/go-control-plane/ratelimit: v0.1.0
  • github.com/go-jose/go-jose/v4: v4.0.4
  • github.com/golang-jwt/jwt/v5: v5.2.2
  • github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
  • github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
  • github.com/spiffe/go-spiffe/v2: v2.5.0
  • github.com/zeebo/errs: v1.4.0
  • go.etcd.io/raft/v3: v3.6.0
  • go.opentelemetry.io/contrib/detectors/gcp: v1.34.0
  • go.opentelemetry.io/otel/sdk/metric: v1.34.0
  • go.yaml.in/yaml/v2: v2.4.2
  • go.yaml.in/yaml/v3: v3.0.4
  • sigs.k8s.io/structured-merge-diff/v6: v6.3.0

Changed

  • cel.dev/expr: v0.19.1 → v0.24.0
  • cloud.google.com/go/compute/metadata: v0.5.0 → v0.6.0
  • github.com/cncf/xds/go: b4127c9 → 2f00578
  • github.com/cpuguy83/go-md2man/v2: v2.0.4 → v2.0.6
  • github.com/emicklei/go-restful/v3: v3.11.0 → v3.12.2
  • github.com/envoyproxy/go-control-plane: v0.13.0 → v0.13.4
  • github.com/envoyproxy/protoc-gen-validate: v1.1.0 → v1.2.1
  • github.com/fsnotify/fsnotify: v1.7.0 → v1.9.0
  • github.com/fxamacker/cbor/v2: v2.7.0 → v2.9.0
  • github.com/golang/glog: v1.2.2 → v1.2.4
  • github.com/google/cel-go: v0.23.2 → v0.26.0
  • github.com/google/gnostic-models: v0.6.9 → v0.7.0
  • github.com/grpc-ecosystem/grpc-gateway/v2: v2.24.0 → v2.26.3
  • github.com/jonboulle/clockwork: v0.4.0 → v0.5.0
  • github.com/modern-go/reflect2: v1.0.2 → 35a7c28
  • github.com/spf13/cobra: v1.8.1 → v1.9.1
  • github.com/spf13/pflag: v1.0.5 → v1.0.6
  • go.etcd.io/bbolt: v1.3.11 → v1.4.2
  • go.etcd.io/etcd/api/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/client/pkg/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/client/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/pkg/v3: v3.5.21 → v3.6.4
  • go.etcd.io/etcd/server/v3: v3.5.21 → v3.6.4
  • go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.58.0 → v0.60.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/metric: v1.33.0 → v1.35.0
  • go.opentelemetry.io/otel/sdk: v1.33.0 → v1.34.0
  • go.opentelemetry.io/otel/trace: v1.33.0 → v1.35.0
  • go.opentelemetry.io/otel: v1.33.0 → v1.35.0
  • go.opentelemetry.io/proto/otlp: v1.4.0 → v1.5.0
  • google.golang.org/genproto/googleapis/api: e6fa225 → a0af3ef
  • google.golang.org/genproto/googleapis/rpc: e6fa225 → a0af3ef
  • google.golang.org/grpc: v1.68.1 → v1.72.1
  • k8s.io/api: v0.33.0 → v0.34.0
  • k8s.io/apiextensions-apiserver: v0.33.0 → v0.34.0
  • k8s.io/apimachinery: v0.33.0 → v0.34.0
  • k8s.io/apiserver: v0.33.0 → v0.34.0
  • k8s.io/client-go: v0.33.0 → v0.34.0
  • k8s.io/code-generator: v0.33.0 → v0.34.0
  • k8s.io/component-base: v0.33.0 → v0.34.0
  • k8s.io/gengo/v2: 1244d31 → 85fd79d
  • k8s.io/kms: v0.33.0 → v0.34.0
  • k8s.io/kube-openapi: c8a335a → f3f2b99
  • k8s.io/utils: 3ea5e8c → 4c0f3b2
  • sigs.k8s.io/json: 9aa6b5e → cfa47c3
  • sigs.k8s.io/yaml: v1.4...
Read more