File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
pkg/cloudprovider/vsphereparavirtual Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import (
3131
3232const (
3333 // VsphereParavirtualCloudProviderConfigPath is the path for vsphere paravirtual cloud provider config file
34- VsphereParavirtualCloudProviderConfigPath string = "/etc/kubernetes/guestclusters/tanzukubernetescluster /ownerref.json"
34+ VsphereParavirtualCloudProviderConfigPath string = "/etc/kubernetes/guestclusters/cluster /ownerref.json"
3535 // SupervisorClusterConfigPath is the path for supervisor access related files,
3636 // like secret related file
3737 SupervisorClusterConfigPath = "/etc/cloud/ccm-provider"
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ func TestReadOwnerRef(t *testing.T) {
3838 }{
3939 {
4040 true ,
41- "v1alpha1 " ,
42- "TanzuKubernetesCluster " ,
41+ "v1beta2 " ,
42+ "Cluster " ,
4343 "my-cluster" ,
4444 "798ea504-0a4d-4e3b-a67c-77812c89071c" ,
4545 },
Original file line number Diff line number Diff line change 4747 testK8sServiceName = "test-lb-service"
4848 testK8sServiceNameSpace = "test-service-ns"
4949 testOwnerReference = metav1.OwnerReference {
50- APIVersion : "v1alpha1 " ,
51- Kind : "TanzuKubernetesCluster " ,
50+ APIVersion : "v1beta2 " ,
51+ Kind : "Cluster " ,
5252 Name : testClustername ,
5353 UID : "1bbf49a7-fbce-4502-bb4c-4c3544cacc9e" ,
5454 }
Original file line number Diff line number Diff line change 4646 testK8sServiceNameSpace = "test-service-ns"
4747 testServiceAnnotationPropagationEnabled = false
4848 testOwnerReference = metav1.OwnerReference {
49- APIVersion : "v1alpha1 " ,
50- Kind : "TanzuKubernetesCluster " ,
49+ APIVersion : "v1beta2 " ,
50+ Kind : "Cluster " ,
5151 Name : testClustername ,
5252 UID : "1bbf49a7-fbce-4502-bb4c-4c3544cacc9e" ,
5353 }
You can’t perform that action at this time.
0 commit comments