Set service volume size with kompose.volume.size label (#235)

1. Copy labels from compose to kobject
2. If kompose.volume.size is set on service level, use it

Internal API changes:

- Add PVCSize to kobject Volumes struct
- Pass default volume size as CreatePVC() param
This commit is contained in:
Anatoli Babenia committed 2017-11-12 13:05:55 +03:00
1 parent b6eddd7a7d
commit 1975c32740
3 files changed
+15 -5

No files matched your search

+1
View File
@@ -142,4 +142,5 @@ type Volumes struct {
Container string // Mountpath
Mode string // access mode for volume
PVCName string // name of PVC
PVCSize string // PVC size
}