Automatically configure Kubernetes for project when GitLab is installed in cluster
Description
We let you connect a project to a Kubernetes cluster/namespace, but it's a pain copying and pasting credentials from the cluster to the service form. If GitLab is installed in a Kubernetes cluster itself, we should automatically configure this for every project. An admin should be able to disable this, of course.
Proposal
Option 1:
- Automatically configure the Kubernetes service for all projects: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10438
Option 2:
- Make the Kubernetes service unnecessary, just make it a core piece of GitLab.
Option 3:
- Don't automatically configure Kubernetes for each project, but pre-fill values when someone configures the service manually so it's just a couple clicks.