pods icon indicating copy to clipboard operation
pods copied to clipboard

No way to define labels when creating a pod or a container

Open vv9k opened this issue 3 years ago • 0 comments

It would be nice if there was a way to define labels on a container or a pod. I'd imagine a similar widget to the one that is responsible for adding environment variables as they both need to store a key-value pair.

I tried taking an initial stab at it by reworking the PdsEnvVarRow to be more generic PdsKeyValRow and reusing it for labels, but i think a view has to be unique to each widget, otherwise the values end up in both children that match this class.

Is creating a separate view and model for labels the way to go or is there something that would allow for a more generic view like PdsKeyValRow to be reused for both labels and environment variables?

vv9k avatar Sep 23 '22 05:09 vv9k