Do not require `cluster-admin` token in order to use GitLab Managed apps
Problem to solve
Some users do not have access to
cluster-admin credentials as they are provided a dedicated namespace for their project by their Ops team. They can do whatever they want in the namespace only. These users are not able to deploy GitLab-managed-apps and therefore opt not to use the Kubernetes integration.
We should ideally offer both
non-cluster-admin option for users to use the integration. The
non-cluster-admin option may require deploying all applications into the project-specific namespace.
- Provide an option for users to deploy applications to a custom namespace. When visiting the GitLab-managed-apps page, offer the option to specify a namespace for deployment of the helm charts (this would exclude Knative).
If users provides credentials that are limited to a single namespace, this would ensure they can deploy apps at whichever level the cluster is provisioned.