[Manual bugfix]: unhide the etcd-join phase for v1.33

Signed-off-by: Andrey Borovets <andrey.borovets@flant.com>
This commit is contained in:
Andrey Borovets
2025-11-27 13:23:27 +03:00
parent 8db57197b3
commit f55ba2cdd1

View File

@@ -88,9 +88,6 @@ func NewEtcdJoinPhase() workflow.Phase {
Example: etcdJoinExample,
InheritFlags: getControlPlaneJoinPhaseFlags("etcd"),
ArgsValidator: cobra.NoArgs,
// TODO: unhide this phase once ControlPlaneKubeletLocalMode goes GA:
// https://github.com/kubernetes/enhancements/issues/4471
Hidden: true,
// Only run this phase as if `ControlPlaneKubeletLocalMode` is activated.
RunIf: func(c workflow.RunData) (bool, error) {
return checkFeatureState(c, features.ControlPlaneKubeletLocalMode, true)