From c6ab2c189873b3482af95489c5dfdf95efaad97e Mon Sep 17 00:00:00 2001 From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:12:41 -0700 Subject: [PATCH] update autoGenerateCert syntax --- content/en/docs/kubernetes/helm/operator.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/kubernetes/helm/operator.md b/content/en/docs/kubernetes/helm/operator.md index 1ec7e17e852a..b82816a4a293 100644 --- a/content/en/docs/kubernetes/helm/operator.md +++ b/content/en/docs/kubernetes/helm/operator.md @@ -23,7 +23,7 @@ following commands: helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts helm install my-opentelemetry-operator open-telemetry/opentelemetry-operator \ --set admissionWebhooks.certManager.enabled=false \ - --set admissionWebhooks.certManager.autoGenerateCert=true + --set admissionWebhooks.certManager.autoGenerateCert.enabled=true ``` This will install an OpenTelemetry Operator with a self-signed certificate and @@ -51,12 +51,12 @@ generate/configure the required TLS certificate. requires the installation of cert-manager. - You can use an automatically generated self-signed certificate by setting `admissionWebhooks.certManager.enabled` to `false` and - `admissionWebhooks.autoGenerateCert` to `true`. Helm will create a self-signed - cert and a secret for you. + `admissionWebhooks.autoGenerateCert.enabled` to `true`. Helm will create a + self-signed cert and a secret for you. - You can use your own generated self-signed certificate by setting both `admissionWebhooks.certManager.enabled` and - `admissionWebhooks.autoGenerateCert` to `false`. You should provide the - necessary values to `admissionWebhooks.cert_file`, + `admissionWebhooks.autoGenerateCert.enabled` to `false`. You should provide + the necessary values to `admissionWebhooks.cert_file`, `admissionWebhooks.key_file`, and `admissionWebhooks.ca_file`. - You can side-load custom webhooks and certificate by disabling `.Values.admissionWebhooks.create` and `admissionWebhooks.certManager.enabled`