Merge pull request #966 from eduardobarbosa/eduardobarbosa/add-podlabels-helmchart

Add extra podLabels options to Flagger Helm Chart
This commit is contained in:
Stefan Prodan
2021-08-23 13:02:13 +03:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -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 }}

View File

@@ -160,3 +160,5 @@ istio:
podDisruptionBudget:
enabled: false
minAvailable: 1
podLabels: {}