From f2995f3454bd74a7601d3dc7c2b4028321491b96 Mon Sep 17 00:00:00 2001 From: Bo Carbonell Date: Tue, 20 Dec 2022 16:16:59 +0000 Subject: [PATCH] Second iteration to add docs for tls --- doc/charts/gitlab/gitlab-exporter/index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/charts/gitlab/gitlab-exporter/index.md b/doc/charts/gitlab/gitlab-exporter/index.md index de01d19b07..253744efc6 100644 --- a/doc/charts/gitlab/gitlab-exporter/index.md +++ b/doc/charts/gitlab/gitlab-exporter/index.md @@ -144,6 +144,21 @@ annotations: kubernetes.io/example-annotation: annotation-value ``` +### tls.secretName + +`tls.secretName` allows you to add an object that provides TLS support to the GitLab Exporter pods. When TLS is enabled, the `secretName` should be configured with an object that contains both the certificate and the key: + +```YAML +tls: + enabled: true + secretName: + name: {{ template "gitlab.gitlab-exporter.tls.secret" . }} + - key: tls.crt + path: "gitlab-exporter/tls.crt" + - key: tls.key + path: "gitlab-exporter/tls.key" +``` + ## Global settings We share some common global settings among our charts. See the [Globals Documentation](../../globals.md) -- GitLab