mirror of https://github.com/rancher/ui.git
Fix workload deploy issue
https://github.com/rancher/rancher/issues/17338
This commit is contained in:
parent
e816060dc8
commit
a66263c96e
|
|
@ -428,9 +428,13 @@ export default Component.extend({
|
|||
}
|
||||
});
|
||||
|
||||
workload.set('volumes', volumes);
|
||||
workload.set('statefulSetConfig.volumeClaimTemplates', volumeClaimTemplates);
|
||||
launchConfig.set('volumeMounts', mounts);
|
||||
set(workload, 'volumes', volumes);
|
||||
const statefulSetConfig = get(workload, 'statefulSetConfig');
|
||||
|
||||
if ( statefulSetConfig ) {
|
||||
set(statefulSetConfig, 'volumeClaimTemplates', volumeClaimTemplates);
|
||||
}
|
||||
set(launchConfig, 'volumeMounts', mounts);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue