Skip to content

Commit

Permalink
feat: allow specifying additional pod labels
Browse files Browse the repository at this point in the history
Signed-off-by: Tristan Colgate-McFarlane <[email protected]>
  • Loading branch information
tcolgate committed Jun 6, 2024
1 parent 97ad4cb commit 00aea99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/flipt/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Selector labels
{{- define "flipt.selectorLabels" -}}
app.kubernetes.io/name: {{ include "flipt.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podLabels -}}
{{- toYaml .Values.podLabels | nindent 0 -}}
{{- end -}}
{{- end }}

{{/*
Expand Down
1 change: 1 addition & 0 deletions charts/flipt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ test:
# tag: '1.36.1'

podAnnotations: {}
podLabels: {"blah": "blah"}

podSecurityContext:
runAsUser: 100
Expand Down

0 comments on commit 00aea99

Please sign in to comment.