mirror of https://github.com/rancher/dashboard.git
vsphere -> rancher-vsphere (rancher/issues#33875)
This commit is contained in:
parent
4b9e95fd38
commit
deba8fa2ee
|
|
@ -884,13 +884,21 @@ cluster:
|
|||
rke2-kube-proxy: Kube Proxy Configuration
|
||||
rke2-metrics-server: Metrics Server Configuration
|
||||
rke2-multus: Multus Configuration
|
||||
|
||||
agentEnvVars:
|
||||
label: Agent Environment
|
||||
detail: Add additional environment variables to the agent container. This is most commonly useful for configuring a HTTP proxy.
|
||||
keyLabel: Variable Name
|
||||
cloudProvider:
|
||||
vsphere:
|
||||
aws:
|
||||
label: Amazon
|
||||
azure:
|
||||
label: Azure
|
||||
external:
|
||||
label: External
|
||||
gcp:
|
||||
label: Google
|
||||
rancher-vsphere:
|
||||
label: vSphere
|
||||
note: '<b>Important:</b> Configure the vSphere Cloud Provider and Storage Provider options in the Add-On Config tab.'
|
||||
custom:
|
||||
nodeRole:
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ export default {
|
|||
for ( const opt of this.agentArgs['cloud-provider-name'].options ) {
|
||||
if ( !preferred || opt === preferred || opt === 'external' ) {
|
||||
out.push({
|
||||
label: opt,
|
||||
label: this.$store.getters['i18n/withFallback'](`cluster.cloudProvider."${ opt }".label`, null, opt),
|
||||
value: opt,
|
||||
});
|
||||
}
|
||||
|
|
@ -600,7 +600,7 @@ export default {
|
|||
switch ( name ) {
|
||||
case 'none': return false;
|
||||
case 'aws': return false;
|
||||
case 'vsphere': return false;
|
||||
case 'rancher-vsphere': return false;
|
||||
default: return true;
|
||||
}
|
||||
},
|
||||
|
|
@ -612,7 +612,7 @@ export default {
|
|||
|
||||
const name = this.agentConfig['cloud-provider-name'];
|
||||
|
||||
return name === 'vsphere';
|
||||
return name === 'rancher-vsphere';
|
||||
},
|
||||
|
||||
showCni() {
|
||||
|
|
@ -629,7 +629,7 @@ export default {
|
|||
names.push(...parts);
|
||||
}
|
||||
|
||||
if ( this.agentConfig['cloud-provider-name'] === 'vsphere' ) {
|
||||
if ( this.agentConfig['cloud-provider-name'] === 'rancher-vsphere' ) {
|
||||
names.push('rancher-vsphere-cpi', 'rancher-vsphere-csi');
|
||||
}
|
||||
|
||||
|
|
@ -1104,7 +1104,7 @@ export default {
|
|||
</div>
|
||||
|
||||
<template v-if="showVsphereNote">
|
||||
<Banner color="warning" label-key="cluster.cloudProvider.vsphere.note" />
|
||||
<Banner color="warning" label-key="cluster.cloudProvider.rancher-vsphere.note" />
|
||||
</template>
|
||||
<template v-else-if="showCloudConfigYaml">
|
||||
<div class="spacer" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue