1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(volumes): Expose the provisioner associated to a volume (#4030)

* feat(volumes): Expose the provisioner associated to a volume

* feat(volumes): fix import and add default value to provisioner
This commit is contained in:
Maxime Bajeux 2020-07-15 00:55:29 +02:00 committed by GitHub
parent 3c34fbd8f2
commit f71abb5669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 0 deletions

View file

@ -41,6 +41,7 @@ class KubernetesConfigureController {
const res = new KubernetesStorageClass();
res.Name = item.Name;
res.AccessModes = _.map(item.AccessModes, 'Name');
res.Provisioner = item.Provisioner;
return res;
}
}),