Skip to content

Commit

Permalink
add support for podlabels (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwsparks authored Jul 11, 2024
1 parent b32b08c commit 649ec46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{- end }}
labels:
{{- include "kwatch.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
restartPolicy: Always
serviceAccountName: {{ .Release.Name }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ tolerations: []

affinity: {}

podAnnotations: {}

podLabels: {}

# kwatch configuration
config: {}

Expand Down

0 comments on commit 649ec46

Please sign in to comment.