fix: apply podannotations to the controller pod template (#510)

* fix: apply podannotations to controller pod template

Signed-off-by: amit handa <amit.handa@doordash.com>

* bump chart version

Signed-off-by: amit handa <amit.handa@doordash.com>

Co-authored-by: Scott Cabrinha <scott@internaught.io>
This commit is contained in:
amit-handda 2020-12-06 09:37:53 -08:00 committed by GitHub
parent e6babc874b
commit 40e52f62ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.9.1"
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 0.3.9
version: 0.3.10
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View file

@ -2,12 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
app.kubernetes.io/name: {{ .Release.Name }}
@ -21,6 +15,12 @@ spec:
app.kubernetes.io/name: {{ .Release.Name }}
template:
metadata:
{{- if .Values.podAnnotations }}
annotations:
{{- range $key, $value := .Values.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app.kubernetes.io/name: {{ .Release.Name }}
spec: