Added missing release label

This commit is contained in:
2023-11-02 12:33:31 +01:00
parent 5003c6500d
commit 84fcb27c8b
3 changed files with 5 additions and 2 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.22 version: 0.1.23
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: Fixed type error description: Added missing pod monitor label
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
View File
@@ -61,6 +61,8 @@ prometheus:
# namespace: the namespace of the Prometheus installation # namespace: the namespace of the Prometheus installation
# the value is templated # the value is templated
namespace: namespace:
# name of helm release or argo cd application
releaseName:
# Overwrite with application specific environment variables # Overwrite with application specific environment variables
# Each item has key and value, where the value is parsed as a template # Each item has key and value, where the value is parsed as a template
+1
View File
@@ -7,6 +7,7 @@ metadata:
namespace: {{ tpl (quote .Values.prometheus.namespace) . | default "observability" }} namespace: {{ tpl (quote .Values.prometheus.namespace) . | default "observability" }}
labels: labels:
{{- include "template.labels" . | nindent 4 }} {{- include "template.labels" . | nindent 4 }}
release: {{ .Values.prometheus.releaseName | quote | default "prometheus" }}
spec: spec:
podMetricsEndpoints: podMetricsEndpoints:
- port: "{{ .Values.application.actuatorPort }}" - port: "{{ .Values.application.actuatorPort }}"