Skip to content

Commit

Permalink
updated the reference
Browse files Browse the repository at this point in the history
  • Loading branch information
eva-vashkevich committed Apr 8, 2024
1 parent e312cc7 commit af67adb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const defaultSpec = {
name: '',
type: 'infrastructure',
configSecret: { name: '' },
credentials: { rancherCloudCredential: '' },
credentials: { rancherCloudCredentialNamespaceName: '' },
features: {
clusterResourceSet: true,
clusterTopology: true,
Expand All @@ -37,7 +37,7 @@ const customProviderSpec = {
name: '',
type: 'infrastructure',
configSecret: { name: '' },
credentials: { rancherCloudCredential: '' },
credentials: { rancherCloudCredentialNamespaceName: '' },
fetchConfig: { url: '' },
version: '',
features: {
Expand Down Expand Up @@ -139,7 +139,7 @@ export default (Vue as VueConstructor<
}];
},
showForm() {
return !!this.value.spec.credentials.rancherCloudCredential || !this.needCredential;
return !!this.value.spec.credentials.rancherCloudCredentialNamespaceName || !this.needCredential;
},
isCreate() {
return this.mode === _CREATE;
Expand Down Expand Up @@ -292,7 +292,7 @@ export default (Vue as VueConstructor<
</h2>
<SelectCredential
v-if="needCredential"
v-model="value.spec.credentials.rancherCloudCredential"
v-model="value.spec.credentials.rancherCloudCredentialNamespaceName"
:mode="mode"
:provider="provider"
:cancel="cancelCredential"
Expand Down

0 comments on commit af67adb

Please sign in to comment.