Changing Kubernetes Cluster on GitLab CE doesn't change CI variables
Summary
Changing Kubernetes Cluster on Gitlab CE from a cluster created through the GKE integration to another cluster doesn't change CI variables
Steps to reproduce
- Create a Kubernetes Cluster on GKE under Operations -> Kubernetes
- Successfully run a deployment and service
- Attempt to point to another Kubernetes cluster on GKE by changing Cluster Name, IP, Token etc
- $KUBE_* variables on CI still point to the old cluster
What is the current bug behavior?
${KUBE_*} variables such as $KUBE_NAME and $KUBE_URL on CI still point to the old cluster. Tried removing Kubernetes integration all together and re-adding, but same behavior.
What is the expected correct behavior?
${KUBE_*} variables on CI should use the updated info