Skip to content

Commit 2ccb129

Browse files
committed
Add example values for enabling the webhooks
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
1 parent ab7b81f commit 2ccb129

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

examples/otel-operator/scaler-with-operator-with-collector-values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ settings:
55

66
otelOperator:
77
enabled: true
8-
manager:
9-
collectorImage:
10-
repository: otel/opentelemetry-collector-contrib
118

129
otelOperatorCrs:
1310
- name: otel-add-on
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Make sure to enable the webhooks when using the mode: sidecar
2+
# This, however, requires the certmanager to be present in the cluster
3+
4+
# https://github.com/open-telemetry/opentelemetry-helm-charts/blob/opentelemetry-operator-0.88.6/charts/opentelemetry-operator/values.yaml
5+
otelOperator:
6+
manager:
7+
env:
8+
ENABLE_WEBHOOKS: "true"
9+
10+
admissionWebhooks:
11+
create: true

0 commit comments

Comments
 (0)