yipeeio / yipee

An opensource version of the Yipee.io editor.
Apache License 2.0
22 stars 7 forks source link

on import many volumes can have the same name on seperate volumes #10

Open palemtnrider opened 5 years ago

palemtnrider commented 5 years ago

After talking with the team, it was concluded that volumes can have the same name, as long as they are not connected to the same pod. Currently the product does not allow any volumes to be named the same as another volume. When importing, volumes can have the same name if they are attached to different pods. The product will need to allow duplicate names on volumes as long as they are not attached to the same pod with another volume attached to that same pod with the same name as the other volume.

Currently I do not see a way to do this as the name of the volume is created when creating the canvas object. At this time the volume is not connected to any pods. This presents the problem of then throwing a duplicate name error on the name field of a volume when the volume is connected to a pod. I believe this can be done but may be tricky. Will need to investigate more.