ansibleplaybookbundle / ansible-playbook-bundle

THIS REPO IS MIGRATING: https://github.com/automationbroker/apb
GNU General Public License v2.0
140 stars 70 forks source link

support alternative kubeconfig location #310

Open akostadinov opened 6 years ago

akostadinov commented 6 years ago

It will be really helpful for testing to be able to specify custom kubeconfig location. I didn't realize earlier that --token alone is not enough for all apb functionality.

@jianzhangbjz, I installed patched version on your slave, will appreciate if you can give this some more testing. To test this PR, one would need to remove default ~/.kube/config file and run the tool commands with --kubeconfig my/alternative/path. To make sure that it takes effect properly by all commands.

jianzhangbjz commented 6 years ago

@akostadinov Many thanks for your PR! As you know, the code is freeze and testing it with kinds of subcommand will take much time I think. We will test it later. I guess this PR may be merged in next release.