chartify icon indicating copy to clipboard operation
chartify copied to clipboard

Flag input parameter to preserve resources name in output

Open yadavnikhil opened this issue 9 years ago • 3 comments

Can we have some flag to pass to Chartify, which can bypass name change for resources?

Ex. --preserve-name true - will not change resources name in output. will be same as input. It will solve most of the scenarios when working with secret combinations & local registry.

yadavnikhil avatar Jun 01 '17 07:06 yadavnikhil

Are you saying that no resource names will be changed?

tamalsaha avatar Jun 01 '17 08:06 tamalsaha

yes, only for ObjectMeta.Name in generateObjectMetaTemplate(). This way, i can sync & control all names in my Charts. Its on demand, default will be existing logic.

yadavnikhil avatar Jun 01 '17 08:06 yadavnikhil

I think this sounds reasonable. Want to send a pr?

tamalsaha avatar Jun 01 '17 09:06 tamalsaha