Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the following kubernetes dependencies together, doing that on an individual level will cause everything to break - apimachinery - client-go - controller-runtime The update to latest version of controller-runtime required some changes to the code used to initialize our `Manager`, more specifically to the configuration options: * `Port`: this was the port used by the webhook server ran by the controller. The option is gone now, given we don't have a webhook endpoint I just removed that. * `MetricsAddress`: this has now been moved under `Metrics`, which holds the configuration of the metrics server. I've moved the configuration over there * Namespace: this option is gone. Now there's a more flexible (and IMHO confusing) way to configure the cache of the Kubernetes client. I've adapted the init code to achieve the same result as before: ensure only resources under the `kwasm` Namespace are watched. Cluster-wide resources, like Node, are not affected by this change; everything stays the same for them Signed-off-by: Flavio Castelli <[email protected]>
- Loading branch information