You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
So my company has been in the process of moving our backend application hosting from digital ocean droplets to a digital ocean kubernetes cluster.
However when following the bitbucket pipeline guide to update our pipelines for kubernetes (https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-kubernetes/)
- step: name: Deploy deployment: production script: - sed -i "s|{{image}}|$DOCKER_HUB_USERNAME/$APPLICATION_NAME:$BITBUCKET_COMMIT|g" deployment.yml - pipe: atlassian/kubectl-run:1.1.2 variables: KUBE_CONFIG: $KUBE_CONFIG KUBECTL_COMMAND: 'apply' RESOURCE_PATH: 'deployment.yml'
There is a variable $KUBE_CONFIG which is not explained there or in other related resources i looked at.
Does anyone know how to find this variable? how to generate it? etc?, thanks even a basic overview of what it is would be helpful at this point.
https://bitbucket.org/atlassian/kubectl-run/src/master/
It's base64 encoded kubeconfig file which you can download from DO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.