Skip to content

Fallback to admin KUBE_TOKEN for project clusters only

Thong Kuah requested to merge legacy_fallback_for_project_clusters_only into master

What does this MR do?

We do not want group level clusters to fall back to what was old behaviour for project level clusters. So instead we will not return any KUBE_TOKEN if we cannot find a suitable kubernetes_namespace for the project, in the group level cluster case.

Add test cases to assert above

Split off from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22308 - required for group clusters to work as a whole

What are the relevant issue numbers?

#34758 (closed), #53592 (closed)

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading