Skip to content

Commit

Permalink
Allow for podLabels to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
penekk authored and sstarcher committed Mar 30, 2021
1 parent e8f1161 commit 290acd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spec:
metadata:
labels:
{{- include "helm-exporter.selectorLabels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ podSecurityContext: {}
# fsGroup: 2000

podAnnotations: {}
podLabels: {}

env: []
# e.g. no_proxy environment variable:
Expand Down

0 comments on commit 290acd8

Please sign in to comment.