-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes provider auth with client-go credential plugins such as azure kubelogin #186
Comments
Operator runs validation before deploying - and it's a combination of operator and halyard. Halyard is what's actually doing the validation. You could extend that to add it OR use a custom init container kinda things. Several different options depending upon need. Note you're LIKELY to hit some issues with spinnaker clouddriver as I don't think the kubelogin binary is on it either. Same sorta solution though - can use a custom init container. Note, your kubeconfig would likely need to be updated to point to the custom mount of binaries (or as you mentioned just extend it). Can do a PR to OSS to try get kubeconfig to the docker images. https://github.com/Azure/kubelogin. Looking at this, SOUNDS like newer kubectls actually have everything kubeconfig did, but maybe not? |
Note not entirely sure a custom location in the kubconfig file will work :( but worth a shot... |
Thanks for insights @jasonmcintosh So the idea is to get azure service principal login working is to get
I'm not entirely sure I understand this:
Is it really possible to get binary to the container using initContainer? |
https://kb.armory.io/s/article/Upgrade-Your-Kustomize-Version |
Hi, could anyone please advice how to configure kubernetes provider in a way to support
authentication with azure service principal through https://github.com/Azure/kubelogin ?
Thanks for any advice.
I'm getting understandable message complaining that it can't find the
kubelogin
binary on$PATH
Which pod is responsible for this validation ?
Can it be worked around by building custom image (based on yours) and adding the
kubelogin
binary in this custom image?The text was updated successfully, but these errors were encountered: