Skip to content

Commit

Permalink
feat(goldpinger): add labels and annotations to daemonset (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: nromriell <[email protected]>
  • Loading branch information
nromriell authored Apr 2, 2024
1 parent 364867b commit e5fb81e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/goldpinger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions charts/goldpinger/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions charts/goldpinger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# Annotations added to the DaemonSet
daemonsetAnnotations: {}

# Additional labels added to the DaemonSet
daemonsetLabels: {}

podAnnotations: {}

podLabels: {}
Expand Down

0 comments on commit e5fb81e

Please sign in to comment.