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.