Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kubernetes] update autoGenerateCert syntax #3619

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/en/docs/kubernetes/helm/operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`
Expand Down