forked from LaconicNetwork/kompose
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:
1 parent
b6eddd7a7d
commit
1975c32740
3 files changed
+15
-5
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user