forked from gardener/gardener
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade
k8s.io/*
to v0.27.5
, sigs.k8s.io/controller-runtime
to …
…`v0.15.2` (gardener#8245) * Update k8s.io/* to v0.27.5 * Update service.kubernetes.io/topology-aware-hints annotation * update sigs.k8s.io/controller-runtime to v0.15.0 * Adapt deprecated pkg/config/v1alpha1 types * Adapt "Refactor source/handler/predicate packages to remove dep injection" Adapt `Refactor source/handler/predicate packages to remove dep injection` * Use `WatchesRawSource` instead of `Watches` * Adapt `handler.EnqueueRequestForOwner` signature * Use `ByObject` instead of `SelectorsByObject` * Remove cache.BuilderWithOptions and use Cache instead * Remove `DefaultSelector` and use `DefaultFieldSelector` and `DefaultLabelSelector` * Remove `cache.Options.Namespace` and use `cache.Options.Namespaces` slice * Rename `cache.Options.Resync` to `SyncPeriod` * Adapt `client/apiutil.NewDynamicRESTMapper` signature and add `*http.Client` as parameter * Move cluster.NewClientFunc to client.NewClientFunc. Adapt NewClientFunc signature. * Adapt handler.EventHandler and handler.Funcs and add context.Context as the first parameter for every method. * Adapt webhook admission to accept `mgr.GetScheme()` as first argument. * Adapt webhook/admission custom Validator and CustomValidator interfaces to return warnings * Adapt webhook.Server interface. Earlier `webhook.Server` was a struct. All the struct fields like `Port`, `CertDir` is being moved to `Options` struct. * Adapt deprecated MultiNamespacedCacheBuilder * Adapt removal of client.NewDelegatingClient constructor * Make generate * Drop InjectDecoder * use Result.Message instead of Result.Reason * Adapt fake client deletionTimestamp behavior * Adapt fake client status handling - Add `WithStatusSubresource` option and pass resources with status subresource * Adapt Kublet's ContainerRuntimeEndpoint flag * Add singular name for the rest of types * Fix test * Fix make check * Adapt deprecated ClientDisableCacheFor and use client.CacheOptions instead * Add Pod Nodename indexer * Update env test * Use `old` restmapper - Latest restmapper implementation doesnot handle cases where an API Group / GroupVersion is not present in the system. In such cases Clients expect No{Kind,Resource}MatchErrors. - Revert this commit once the upstream fix is available. * Use `old` code-generator scripts * Make clean and Make generate * Address PR review feedback * Update to latest dependencies * Remove obsolete dashboards These metrics are not registered by controller-runtime anymore due to high cardinality * Update envtest version in tests Use the same version as the envtest package * Resolve TODOs for k8s 1.27 * Run `make generate` * Adapt unit tests for dashboard change * [PR feedback] Adapt deprecated manager options - manager.Options.Port - manager.Options.Host - manager.Options.CertDir - manager.Options.TLSOpts Update options_test.go * [PR feedback] Upgrade controller-runtime to v0.15.2 * Address PR review feedback * Update docURLTemplate url to v1.27 * Make generate * Address PR review feedback * Remove uncached object from Config, It can be set using `clientoptions.Cache.DisableFor` Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com> * Set `clientOptions.Cache.Reader` to nil for creating uncached client Co-Authored-By: Sonu Kumar Singh <sonu.kumar.singh02@sap.com> * Address Review * Address Review --------- Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com> Co-authored-by: Sonu Kumar Singh <sonu.kumar.singh02@sap.com>
- Loading branch information
1 parent
27bb801
commit 00365d6
Showing
1,474 changed files
with
68,222 additions
and
33,092 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.