Fixed wrong syntax for selector

This commit is contained in:
2023-11-02 12:40:21 +01:00
parent 924a04ec40
commit 2fd148bd9e
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: template name: template
description: A Helm library chart containing common templates, keeping application templates short description: A Helm library chart containing common templates, keeping application templates short
type: library type: library
version: 0.1.23 version: 0.1.24
maintainers: maintainers:
- name: Jim Martens - name: Jim Martens
url: https://2martens.de url: https://2martens.de
@@ -11,7 +11,7 @@ sources:
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: fixed
description: Added missing pod monitor label description: Fixed selector for pod monitor
artifacthub.io/signKey: | artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
+2 -1
View File
@@ -13,6 +13,7 @@ spec:
- port: "{{ .Values.application.actuatorPort }}" - port: "{{ .Values.application.actuatorPort }}"
path: /actuator/prometheus path: /actuator/prometheus
selector: selector:
{{- include "template.selectorLabels" . | nindent 4 }} matchLabels:
{{- include "template.selectorLabels" . | nindent 6 }}
{{- end }} {{- end }}
{{- end }} {{- end }}