From e5fb81e9e6f916b617eaf3389103114ae4ea266d Mon Sep 17 00:00:00 2001 From: Nathan Romriell Date: Tue, 2 Apr 2024 09:28:54 -0700 Subject: [PATCH] feat(goldpinger): add labels and annotations to daemonset (#106) Signed-off-by: nromriell --- charts/goldpinger/Chart.yaml | 2 +- charts/goldpinger/templates/daemonset.yaml | 7 +++++++ charts/goldpinger/values.yaml | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/charts/goldpinger/Chart.yaml b/charts/goldpinger/Chart.yaml index 2ce1fcf..e4dd990 100644 --- a/charts/goldpinger/Chart.yaml +++ b/charts/goldpinger/Chart.yaml @@ -11,4 +11,4 @@ name: goldpinger sources: - https://github.com/bloomberg/goldpinger - https://github.com/okgolove/helm-charts -version: 6.1.2 +version: 6.1.3 diff --git a/charts/goldpinger/templates/daemonset.yaml b/charts/goldpinger/templates/daemonset.yaml index 54034a6..28150f1 100644 --- a/charts/goldpinger/templates/daemonset.yaml +++ b/charts/goldpinger/templates/daemonset.yaml @@ -2,8 +2,15 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: {{ include "goldpinger.fullname" . }} + {{- with .Values.daemonsetAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: {{- include "goldpinger.labels" . | nindent 4 }} + {{- with .Values.daemonsetLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: {{- with .Values.updateStrategy }} updateStrategy: diff --git a/charts/goldpinger/values.yaml b/charts/goldpinger/values.yaml index 6380c1d..9f9b1dd 100644 --- a/charts/goldpinger/values.yaml +++ b/charts/goldpinger/values.yaml @@ -85,6 +85,12 @@ resources: {} # cpu: 100m # memory: 128Mi +# Annotations added to the DaemonSet +daemonsetAnnotations: {} + +# Additional labels added to the DaemonSet +daemonsetLabels: {} + podAnnotations: {} podLabels: {}