From aa8904bb43b0956c193d5edea10da5c35fb76707 Mon Sep 17 00:00:00 2001 From: Cedric Lamoriniere Date: Wed, 15 May 2019 14:44:34 +0200 Subject: [PATCH] Support leader election check on daemonset agent (#13849) Signed-off-by: cedric lamoriniere --- stable/datadog/Chart.yaml | 2 +- stable/datadog/templates/clusterrole.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/stable/datadog/Chart.yaml b/stable/datadog/Chart.yaml index c98fe4e99e..75e0368364 100755 --- a/stable/datadog/Chart.yaml +++ b/stable/datadog/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: datadog -version: 1.30.3 +version: 1.30.4 appVersion: 6.10.1 description: DataDog Agent keywords: diff --git a/stable/datadog/templates/clusterrole.yaml b/stable/datadog/templates/clusterrole.yaml index 0c224a34d9..87a3d8fc78 100644 --- a/stable/datadog/templates/clusterrole.yaml +++ b/stable/datadog/templates/clusterrole.yaml @@ -75,4 +75,10 @@ rules: - nodes/proxy verbs: - get +- apiGroups: # leader election check + - "" + resources: + - endpoints + verbs: + - get {{- end -}}