Skip to content

Commit

Permalink
Merge pull request #966 from eduardobarbosa/eduardobarbosa/add-podlab…
Browse files Browse the repository at this point in the history
…els-helmchart

Add extra podLabels options to Flagger Helm Chart
  • Loading branch information
stefanprodan authored Aug 23, 2021
2 parents 0dc8edb + 3811470 commit 04ec7f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/flagger/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ spec:
labels:
app.kubernetes.io/name: {{ template "flagger.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{- range $key, $value := .Values.podLabels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
annotations:
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/flagger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,5 @@ istio:
podDisruptionBudget:
enabled: false
minAvailable: 1

podLabels: {}

0 comments on commit 04ec7f0

Please sign in to comment.