mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-08 00:55:37 +00:00
Since 1.31 the core component cloud provider logic should not exist, this disables the existing code in the kube-controller-manager that still expects to work with the cloud-provider logic to avoid having time bombs in the code base that can break the component. The code can not be completely removed because this will impact existing users that may be using some of the flags breaking their deployments, so this just removes the code that is no longer to be used becuase it depends on options that no longer are exposed to users. It also adds validation on the configuration/flag level to ensure that the --cloud-provider flag can only be set to external or empty.