Allow to Pass CA Certificate for K8s Cluster Config in Base64

Problem to solve

When adding an existing K8s cluster, GitLab asks for the CA Certificate in PEM format. However many providers give the users the CA Certificate in Base64. We should allow the users to pass the CA certificate in Base64

Intended users

  • Delaney (Development Team Lead)
  • Sasha (Software Developer)
  • Devon (DevOps Engineer)

Personas are described at https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas/

Further details

Expanding on this functionality decreases the friction when it comes to creating and configuring resources inside GitLab. This contributes to the vision by enhancing the user experience customers have when interacting with GitLab.

Proposal

  1. The user decides to add a K8s cluster.
  2. The user has an existing cluster so they choose that option.
  3. The user gets to the point where they have to enter the CA certificate.
  4. The user can enter the CA Certificate in PEM format or Base64.

We could allow them to switch between PEM and Base64 by using a dropdown or radio buttons. Decoding the certificate from Base64 is a super simple operation that can be done client-side.

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Assignee Loading
Time tracking Loading