diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index baabb52..e55b70d 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.23 +version: 0.1.24 maintainers: - name: Jim Martens url: https://2martens.de @@ -11,7 +11,7 @@ sources: annotations: artifacthub.io/changes: | - kind: fixed - description: Added missing pod monitor label + description: Fixed selector for pod monitor artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/template/templates/_podmonitor.yaml b/helm/template/templates/_podmonitor.yaml index 3141c5c..075d582 100644 --- a/helm/template/templates/_podmonitor.yaml +++ b/helm/template/templates/_podmonitor.yaml @@ -13,6 +13,7 @@ spec: - port: "{{ .Values.application.actuatorPort }}" path: /actuator/prometheus selector: - {{- include "template.selectorLabels" . | nindent 4 }} + matchLabels: + {{- include "template.selectorLabels" . | nindent 6 }} {{- end }} {{- end }}