Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions src/pages/cluster/components/plugin/uiSchemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,6 @@ export const uiSchemas = [
},
},
},
{
name: 'nfs-provisioner',
schema: {
properties: {
enable: {
default: false,
priority: 0,
title: 'nfs-provisioner',
type: 'boolean',
},
reclaimPolicy: {
widget: 'select',
props: {},
enum: ['Retain', 'Delete'],
enumNames: ['Retain', 'Delete'],
},
mountOptions: {
widget: 'ArrayString',
props: {
isInput: true,
width: '100%',
},
},
},
},
},
{
name: 'nfs-csi',
schema: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default class Cluster extends BaseForm {
await Promise.all([
this.getBackupPoint(),
this.registryStore.fetchList({ limit: -1 }),
this.store.fetchVersion({ limit: -1 }),
]);
await this.initVersions();
}
Expand Down
5 changes: 0 additions & 5 deletions src/pages/cluster/containers/Cluster/actions/Create/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,13 @@ export default class Create extends StepAction {
this.templatesStore = rootStore.templatesStore;

this.fetchTemplates();
this.fetchVersion();
}

async fetchTemplates() {
const templates = await this.templatesStore.fetchListAll();
this.updateData({ templates });
}

async fetchVersion() {
await this.store.fetchVersion({ limit: -1 });
}

get successText() {
return t('Cluster {name} is installing.', { name: this.instanceName });
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/object.mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function filterComponents(array, filters) {
*/
const ClusterMapper = (item) => {
const { metadata, networking } = item;
const STORAGES = ['nfs-provisioner', 'nfs-csi', 'ceph-csi', 'cinder'];
const STORAGES = ['nfs-csi', 'ceph-csi', 'cinder'];
const PLUGINS = ['kubesphere', 'metallb'];

const components = Object.fromEntries(
Expand Down
Loading