diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index 4b40308..bbdb956 100644 --- a/helm/template/Chart.yaml +++ b/helm/template/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: template description: A Helm library chart containing common templates, keeping application templates short type: library -version: 0.1.18 +version: 0.1.19 maintainers: - name: Jim Martens url: https://2martens.de @@ -11,7 +11,7 @@ sources: annotations: artifacthub.io/changes: | - kind: fixed - description: Fixed location of annotations for prometheus + description: Fixed annotations artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/template/templates/_deployment.yaml b/helm/template/templates/_deployment.yaml index 1db4912..186892a 100644 --- a/helm/template/templates/_deployment.yaml +++ b/helm/template/templates/_deployment.yaml @@ -15,7 +15,6 @@ spec: {{- include "template.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: {{- if $.Values.prometheus.enabled }} prometheus.io/scrape: "true" @@ -26,8 +25,9 @@ spec: {{- end }} prometheus.io/port: "{{ $.Values.application.actuatorPort }}" {{- end }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} labels: {{- include "template.selectorLabels" . | nindent 8 }} spec: