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:
parent
e6babc874b
commit
40e52f62ac
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "0.9.1"
|
appVersion: "0.9.1"
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 0.3.9
|
version: 0.3.10
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,12 +2,6 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}
|
name: {{ .Release.Name }}
|
||||||
{{- if .Values.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{- range $key, $value := .Values.podAnnotations }}
|
|
||||||
{{ $key }}: {{ $value | quote }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
@ -21,6 +15,12 @@ spec:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
{{- if .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := .Values.podAnnotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: {{ .Release.Name }}
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Reference in a new issue