We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc57b7f commit aa6dc32Copy full SHA for aa6dc32
api/v1alpha7/openstackcluster_webhook.go
@@ -105,6 +105,11 @@ func (r *OpenStackCluster) ValidateUpdate(oldRaw runtime.Object) error {
105
r.Spec.ControlPlaneEndpoint = clusterv1.APIEndpoint{}
106
}
107
108
+ // Allow change only for the first time.
109
+ if old.Spec.DisableAPIServerFloatingIP && old.Spec.APIServerFixedIP == "" {
110
+ r.Spec.APIServerFixedIP = ""
111
+ }
112
+
113
// Allow changes to the bastion spec.
114
old.Spec.Bastion = &Bastion{}
115
r.Spec.Bastion = &Bastion{}
0 commit comments