Skip to content

Commit

Permalink
Added the ability to use custom pod labels
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrzejOlender committed Feb 19, 2024
1 parent 024d832 commit 8670636
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/umami/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ Selector labels
{{- define "umami.selectorLabels" -}}
app.kubernetes.io/name: {{ include "umami.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end }}

{{/*
Expand Down
3 changes: 3 additions & 0 deletions charts/umami/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ imagePullSecrets: []
# -- Annotations to be added to pods
podAnnotations: {}

# -- Labels to be added to pods
podLabels: {}

# -- pod-level security context
podSecurityContext: {}
# fsGroup: 2000
Expand Down

0 comments on commit 8670636

Please sign in to comment.