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

  1. Create a Kubernetes Cluster on GKE under Operations -> Kubernetes
  2. Successfully run a deployment and service
  3. Attempt to point to another Kubernetes cluster on GKE by changing Cluster Name, IP, Token etc
  4. $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

Assignee Loading
Time tracking Loading