gardener-attic / gardener-extension-provider-kubevirt

Gardener Extension Provider for KubeVirt
Other
11 stars 16 forks source link

Add validation of Kubernetes feature gates #111

Closed stoyanr closed 3 years ago

stoyanr commented 3 years ago

How to categorize this PR?

/area usability /area ops-productivity /kind enhancement /platform kubevirt

What this PR does / why we need it: Adds validation of Kubernetes feature gates (in CloudControllerManager field of the ControlPlaneConfig custom resource), as requested in https://github.com/gardener/gardener/issues/3987 and https://github.com/gardener/gardener-extension-provider-gcp/issues/263. Similar to https://github.com/gardener/gardener-extension-provider-gcp/pull/280 but for kubevirt.

Which issue(s) this PR fixes: Fixes https://github.com/gardener/gardener-extension-provider-gcp/issues/263 for kubevirt.

Special notes for your reviewer:

Release note:

When creating or updating shoots, any Kubernetes feature gates mentioned are validated against the Kubernetes version. If any feature gates are unknown or not supported in the Kubernetes version, the validation fails.
stoyanr commented 3 years ago

/invite @rfranzke @ialidzhikov

gardener-robot commented 3 years ago

@rfranzke You have pull request review open invite, please check