vmware-tanzu / tanzu-framework

Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
196 stars 193 forks source link

Allow user to create workload cluster by disabling CLI validations #2433

Open chandrareddyp opened 2 years ago

chandrareddyp commented 2 years ago

(This is used to request new product features)

Describe the feature request In TKG CLI, For the tanzu cluster create -f clusterClassObject.yaml, when an input file is a cluster object, the provider type is identified using the cluster class name, the cluster class name should be like tkg-ProviderType-default, if the ProviderType is not any of [aws,vsphere, azure, docker] then create command fails with an error, we need to make sure the cluster create should continue by disabling the input attributes validation even provider type is unknown. Describe alternatives you've considered Throw error when provider type in the cluster class name is not known Affected product area (please put an X in all that apply)

Additional context

chandrareddyp commented 1 year ago

cc: @yuyangbj