Skip to content

Commit

Permalink
Drop in-tree support for OpenStack (#324)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <[email protected]>
  • Loading branch information
ahmedwaleedmalik authored Oct 19, 2023
1 parent b9e7359 commit 0bb1032
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cloudprovider/cloudprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ func GetCloudConfig(pconfig providerconfigtypes.Config, kubeletVersion string) (

func KubeletCloudProviderConfig(cloudProvider providerconfigtypes.CloudProvider, external bool) (inTreeCCM bool, outOfTree bool, err error) {
switch osmv1alpha1.CloudProvider(cloudProvider) {
case osmv1alpha1.CloudProviderAWS, osmv1alpha1.CloudProviderAzure,
osmv1alpha1.CloudProviderOpenstack, osmv1alpha1.CloudProviderVsphere:
case osmv1alpha1.CloudProviderAWS, osmv1alpha1.CloudProviderAzure, osmv1alpha1.CloudProviderVsphere:
if external {
return false, true, nil
}
Expand Down

0 comments on commit 0bb1032

Please sign in to comment.