From 32fedab30dcb0a2d2149ab6053426a94c5e3eb8c Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Fri, 11 Oct 2024 10:45:24 -0700 Subject: [PATCH 1/3] change cpi secret name --- shell/utils/v-sphere.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/utils/v-sphere.ts b/shell/utils/v-sphere.ts index fb41bec036e..b24ee3d8994 100644 --- a/shell/utils/v-sphere.ts +++ b/shell/utils/v-sphere.ts @@ -93,7 +93,7 @@ class VSphereUtils { */ async handleVsphereCpiSecret(rke2Component: Rke2Component) { const generateName = `${ rootGenerateName }cpi-`; - const downstreamName = 'vsphere-cpi-creds'; + const downstreamName = 'vsphere-cpi-credentials'; const downstreamNamespace = 'kube-system'; const { value } = rke2Component; From 5776d49a8825059f3f09709e6b901b9a785d8db8 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Fri, 11 Oct 2024 10:55:08 -0700 Subject: [PATCH 2/3] change csi secret name --- shell/utils/v-sphere.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/utils/v-sphere.ts b/shell/utils/v-sphere.ts index b24ee3d8994..1862cca42ea 100644 --- a/shell/utils/v-sphere.ts +++ b/shell/utils/v-sphere.ts @@ -166,7 +166,7 @@ class VSphereUtils { */ async handleVsphereCsiSecret(rke2Component: Rke2Component) { const generateName = `${ rootGenerateName }csi-`; - const downstreamName = 'vsphere-csi-creds'; + const downstreamName = 'vsphere-csi-credentials'; const downstreamNamespace = 'kube-system'; const { value } = rke2Component; From 93110864c5372b26ec11765875ca1251768579b7 Mon Sep 17 00:00:00 2001 From: Mo Mesgin Date: Fri, 11 Oct 2024 10:58:11 -0700 Subject: [PATCH 3/3] add rancher prefix --- shell/utils/v-sphere.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/utils/v-sphere.ts b/shell/utils/v-sphere.ts index 1862cca42ea..4e1efbdf439 100644 --- a/shell/utils/v-sphere.ts +++ b/shell/utils/v-sphere.ts @@ -93,7 +93,7 @@ class VSphereUtils { */ async handleVsphereCpiSecret(rke2Component: Rke2Component) { const generateName = `${ rootGenerateName }cpi-`; - const downstreamName = 'vsphere-cpi-credentials'; + const downstreamName = 'rancher-vsphere-cpi-credentials'; const downstreamNamespace = 'kube-system'; const { value } = rke2Component; @@ -166,7 +166,7 @@ class VSphereUtils { */ async handleVsphereCsiSecret(rke2Component: Rke2Component) { const generateName = `${ rootGenerateName }csi-`; - const downstreamName = 'vsphere-csi-credentials'; + const downstreamName = 'rancher-vsphere-csi-credentials'; const downstreamNamespace = 'kube-system'; const { value } = rke2Component;