From 9165f443c01a583af175e99b50ddc1bead8a60da Mon Sep 17 00:00:00 2001 From: Vince Prignano Date: Fri, 6 Mar 2020 14:59:53 -0800 Subject: [PATCH] :bug: Allow KCP spec.version to be mutable Signed-off-by: Vince Prignano --- .../kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go b/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go index ba709020d84e..ea2a5da88824 100644 --- a/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go +++ b/controlplane/kubeadm/api/v1alpha3/kubeadm_control_plane_webhook.go @@ -77,6 +77,7 @@ func (in *KubeadmControlPlane) ValidateUpdate(old runtime.Object) error { {spec, kubeadmConfigSpec, clusterConfiguration, "etcd", "local", "imageTag"}, {spec, "infrastructureTemplate", "name"}, {spec, "replicas"}, + {spec, "version"}, } allErrs := in.validateCommon()