From 221e6d6a7898679232d50fdbf16f84951fcf88c1 Mon Sep 17 00:00:00 2001 From: Jesper Svendsen Date: Thu, 20 Jul 2023 09:48:09 +0200 Subject: [PATCH 1/2] Update instructions for Studio Self-hosted CAs --- .../studio/self-hosting/configuration/ca.md | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/content/docs/studio/self-hosting/configuration/ca.md b/content/docs/studio/self-hosting/configuration/ca.md index e8c5d798ab..c7335d8a58 100644 --- a/content/docs/studio/self-hosting/configuration/ca.md +++ b/content/docs/studio/self-hosting/configuration/ca.md @@ -1,16 +1,23 @@ # CA certificates -Does your Git forge use a certificate signed by a custom certificate authority -(CA)? If so, Studio needs to have the CA certificate in order to connect to the -Git forge. +Do you use a custom certificate for Studio or one of your Git forges? +If so, Studio needs to have the CA certificates in order to establish +connections. -To do this, copy your CA certificate as plain text, then insert it in the -`customCaCert` key in the `values.yaml` configuration file: +To do this, copy your CA certificates as plain text, then add them to the +`customCaCerts` list in the `values.yaml` configuration file: ```yaml global: - customCaCert: |- - -----BEGIN CERTIFICATE----- - .... - -----END CERTIFICATE----- + customCaCerts: + # First certificate + - |- + -----BEGIN CERTIFICATE----- + .... + -----END CERTIFICATE----- + # Second certificate + - |- + -----BEGIN CERTIFICATE----- + .... + -----END CERTIFICATE----- ``` From 71814912457a11abf0b47a1f41f8e03239b9913a Mon Sep 17 00:00:00 2001 From: Jesper Svendsen Date: Thu, 20 Jul 2023 10:12:48 +0200 Subject: [PATCH 2/2] Fix linting --- content/docs/studio/self-hosting/configuration/ca.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/studio/self-hosting/configuration/ca.md b/content/docs/studio/self-hosting/configuration/ca.md index c7335d8a58..2eacb00fdd 100644 --- a/content/docs/studio/self-hosting/configuration/ca.md +++ b/content/docs/studio/self-hosting/configuration/ca.md @@ -1,8 +1,7 @@ # CA certificates -Do you use a custom certificate for Studio or one of your Git forges? -If so, Studio needs to have the CA certificates in order to establish -connections. +Do you use a custom certificate for Studio or one of your Git forges? If so, +Studio needs to have the CA certificates in order to establish connections. To do this, copy your CA certificates as plain text, then add them to the `customCaCerts` list in the `values.yaml` configuration file: