diff --git a/charts/microservice/templates/deployment.yaml b/charts/microservice/templates/deployment.yaml index 8880ea9c..7795ae8d 100644 --- a/charts/microservice/templates/deployment.yaml +++ b/charts/microservice/templates/deployment.yaml @@ -27,10 +27,10 @@ spec: metadata: labels: {{- include "microservice.selectorLabels" . | nindent 8 }} - {{- if .Values.deployment.annotations }} + {{- if .Values.deployment.podAnnotations }} annotations: - {{- range $key, $value := .Values.deployment.podAnnotations }} - {{ $key }}: {{ $value }} + {{- range $key, $value := .Values.deployment.podAnnotations }} + {{ $key }}: {{ $value }} {{- end }} {{- end }} spec: