From 43e9ce957fb59c6af6dac4fbf170dfd4a76fff6f Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Fri, 31 May 2019 13:52:27 -0300 Subject: [PATCH] [stable/instana] Bump leadership-elector to 0.5.4 (#14382) * [stable/instana-agent] Bump leadership-elector to 0.5.4 Updated leader-elector to 0.5.4 which uses a distroless image to reduce the number of ongoing vulnerabilities to 3 Debian stretch libraries: - busybox - glibc - openssl refs #180 Signed-off-by: Nathan Fisher * [stable/instana-agent] Add nfisher as owner Signed-off-by: Nathan Fisher --- stable/instana-agent/Chart.yaml | 4 +++- stable/instana-agent/OWNERS | 2 ++ stable/instana-agent/templates/daemonset.yaml | 8 ++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/stable/instana-agent/Chart.yaml b/stable/instana-agent/Chart.yaml index 16ebfe2b8e..560d209d07 100644 --- a/stable/instana-agent/Chart.yaml +++ b/stable/instana-agent/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: instana-agent -version: 1.0.9 +version: 1.0.10 appVersion: 1.0 description: Instana Agent for Kubernetes home: https://www.instana.com/ @@ -20,3 +20,5 @@ maintainers: email: miel.donkers@instana.com - name: dlbock email: dahlia.bock@instana.com + - name: nfisher + email: nathan.fisher@instana.com diff --git a/stable/instana-agent/OWNERS b/stable/instana-agent/OWNERS index f9301a1d1c..a49c98f2d7 100644 --- a/stable/instana-agent/OWNERS +++ b/stable/instana-agent/OWNERS @@ -5,6 +5,7 @@ approvers: - fstab - mdonkers - dlbock +- nfisher reviewers: - jbrisbin - wiggzz @@ -12,3 +13,4 @@ reviewers: - fstab - mdonkers - dlbock +- nfisher diff --git a/stable/instana-agent/templates/daemonset.yaml b/stable/instana-agent/templates/daemonset.yaml index f9b7d5bdcc..f7e7f68100 100644 --- a/stable/instana-agent/templates/daemonset.yaml +++ b/stable/instana-agent/templates/daemonset.yaml @@ -122,13 +122,17 @@ spec: ports: - containerPort: 42699 - name: {{ template "instana-agent.name" . }}-leader-elector - image: instana/leader-elector:0.5.1 + image: instana/leader-elector:0.5.4 env: - name: INSTANA_AGENT_POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - args: ["--election=instana", "--http=localhost:{{ default 42655 .Values.agent.leaderElectorPort }}", "--id=$(INSTANA_AGENT_POD_NAME)"] + command: + - "/app/server" + - "--election=instana" + - "--http=localhost:{{ default 42655 .Values.agent.leaderElectorPort }}" + - "--id=$(INSTANA_AGENT_POD_NAME)" resources: requests: cpu: 0.1