vSphere provider in Rancher 2.4.2

Whenever i follow this article to define the custom cloud_provider of vsphere, all the configuration after the “name” gets REMOVED when the yaml is applied. Thus using the vsphere CSI never works.

https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/vsphere/config-reference

Has this changed in 2.4.2?

Is there another way to do this?

Was able to figure this out through trial and error and strict structure of the provider section in rancher.