we are planning to deploy application on kubernates
but facing some issue to set some kubernates config at bitbuket pipeline end
i followed this page to deploy application on kubernates https://confluence.atlassian.com/bitbucket/deploy-to-kubernetes-892623297.html
what should be the value of KUBE_CONFIG variable?
Thank you for the question!
KUBE_CONFIG should be Base64 string containing the Kubernetes configuration.
This is how you can obtain it:
cat ~/.kube/config | base64
Just copy the base64 encoded string from stdout and put in into the KUBE_CONFIG variable in your repository.
More details you can find on kubectl-run pipe.
We'll update the guide with this details.
Cheers,
Alex
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.