Skip to content

Commit

Permalink
Add the possibility of specifying extra labels
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Jobert <[email protected]>
  • Loading branch information
olivier-jobert committed Apr 18, 2024
1 parent 345b4c8 commit 85241c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/kube-vip/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ spec:
metadata:
labels:
{{- include "kube-vip.selectorLabels" . | nindent 8 }}
{{- with .Values.extraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
containers:
- args:
Expand Down
3 changes: 3 additions & 0 deletions charts/kube-vip/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ envFrom: []
# - secretKeyRef:
# name: kube-vip

extraLabels: {}
# Specify extra labels to be added to DaemonSet (and therefore to Pods)

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 85241c3

Please sign in to comment.