charts icon indicating copy to clipboard operation
charts copied to clipboard

Add "Kubectl" alias param in config

Open biaoma-ty opened this issue 4 years ago • 4 comments

In our environment, "kubectl" binary file name is not actually "kubectl", but something else. So, should we add a config for the "kubectl" alias? While the default setting is "kubectl", nothing different as what it is so far, then we can re-direct it to a certain filename from config.

biaoma-ty avatar Jan 08 '21 05:01 biaoma-ty

@f7753 I am not sure if I understand your question. Can you clarify it?

sijie avatar Jan 08 '21 06:01 sijie

Thank you for your reply.

In our environment, the binary file of kubectl's name is "abc-kubectl-x" or some other literals like this. So when I execute token gen scripts of this helm charts, it will find "kubectl" and execute, but it is not exactly the "abc-kubectl-x" that I really need to run with.

Hope this information could make the below comment a little clear:)

biaoma-ty avatar Jan 08 '21 07:01 biaoma-ty

oh, I see. make sense. Are you interested in contributing a pull request?

sijie avatar Jan 08 '21 07:01 sijie

Yes, I'll have a try.

biaoma-ty avatar Jan 08 '21 07:01 biaoma-ty

Close legacy issues in charts. Pls feel free to reopen the issue if this problem still exists in current version.

ericsyh avatar Sep 05 '22 03:09 ericsyh