DataDog / helm-charts

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

Fix: clusterchecks missing DD_TAGS environment variable and rbac.create=false #1343

Open LucasBoisserie opened 5 months ago

LucasBoisserie commented 5 months ago

What this PR does / why we need it:

Fix 2 issues in cluster checks runner deployment

Special notes for your reviewer:

issue 1: With kubeStateMetricsCore.useClusterCheckRunners=true, kubernetes_state metrics come from cluster check runner but it hasn't DD_TAGS environment variable to add global tag on theses metrics like explain in the doc

issue 2: With clusterChecksRunner.rbac.create=false, the helm chart still deployed cluster check runner rbac (ClusterRoleBinding and ServiceAccount)

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]