By mluders
I’m attempting to add a Digital Ocean Kubernetes cluster to GitLab. It asks for these values:
I followed the answers in a previous post (https://www.digitalocean.com/community/questions/adding-kubernetes-cluster-to-our-private-gitlab-server), and I solved everything except “CA Certificate.”
Looking at the cluster’s config.yml file (downloaded from Digital Ocean), I see a few values including CERTIFICATE-AUTHORITY-DATA, CLIENT-KEY-DATA, etc. However, these don’t seem to be PEM format - which I assume is necessary.
In the end, I tried a few different values. GitLab continues with the setup without complaint, but the installation of Helm Tiller fails every time. This tells me that GitLab doesn’t confirm the values.
Can anyone tell me how to find my CA Certificate? Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thank you very much, writing articles you share very well, so you do as above
I had the same issue myself and discovered that ‘certificate-authority-data’ field in your kube config file is the right value, it’s just base64 encoded.
If you decode it then it’ll be in .pem format and works with the GitLab kubernetes integration.
To get the CA certificate you need to first have created a service account for GitLab. You can then run the command listed towards the bottom of the linked section here to grab it.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.