DataDog / helm-charts

Helm charts for Datadog products
Apache License 2.0
330 stars 1.01k forks source link

[synthetics] Auto set env var when enableStatusProbes is true #1354

Closed ruizb closed 3 months ago

ruizb commented 4 months ago

What this PR does / why we need it:

This PR automatically sets the enableStatusProbes=true configuration of the Synthetics private location when the liveness and readiness probes are enabled in the Kubernetes deployment, by setting the DATADOG_WORKER_ENABLE_STATUS_PROBES env variable.

This prevents the pod from staying in CLB if the probes are enabled on Kubernetes side but the enableStatusProbes config is false (i.e. default value) on the Synthetics PL side.

Checklist