Skip to content

Set username and password in kubeconfig correctly

Thong Kuah requested to merge set-username-in-config into master

Configure the k3s kubeconfig with the username and password attribute correctly.

This enables us to upgrade to kubectl versions >= 1.1.10 (or >= 1.12.6)

See https://gitlab.com/gitlab-org/cluster-integration/helm-install-image/-/jobs/248762401 for an example where this works with 1.1.10

And also https://gitlab.com/gitlab-org/cluster-integration/helm-install-image/-/jobs/245833492 for an example where using the old code failed on 1.1.10

Edited by 🤖 GitLab Bot 🤖

Merge request reports