CATechnologiesTest / yipee

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

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

Open andrewcopley opened 5 years ago

markemeis commented 5 years ago

Please add a description on what the product does today and what it should be doing instead.

andrewcopley 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.