kubernetes-sigs/cluster-api

ClusterClass rebase should check variable compatibility

Chiusa

#8154 aperta il 22 feb 2023

 (5 commenti) (0 reazioni) (0 assegnatari)Go (1532 fork)auto 404
area/clusterclasshelp wantedkind/featurepriority/important-longtermtriage/accepted

Metriche repository

Star
 (4267 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

PR #8153 removes the variable compatibility checks for Clusters using a ClusterClass when that class is being updated in place. This change is a consequence of external variables.

During ClusterClass rebase - moving a Cluster from one ClusterClass to another - similar variable checks could be done allowing users to safely update from one set of variables to another while changing ClusterClass. Currently validation of those variables is not done during ClusterClass rebase.

This validation should be added to give rebase webhook based validation of variable changes.

/area topology /kind feature

Guida contributor