1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 22:05:23 +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

@ -7,6 +7,7 @@ class KubernetesStorageClassConverter {
static apiToStorageClass(data) {
const res = new KubernetesStorageClass();
res.Name = data.metadata.name;
res.Provisioner = data.provisioner;
return res;
}
}