From 97b356b30a0b07622479a548dfadd2523a1d5cf4 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 2 Nov 2023 11:52:12 +0100 Subject: [PATCH] Added support for prometheus operator --- helm/wahlrecht/Chart.lock | 6 +++--- helm/wahlrecht/Chart.yaml | 8 +++----- helm/wahlrecht/values.yaml | 7 +++++++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/helm/wahlrecht/Chart.lock b/helm/wahlrecht/Chart.lock index 64d6ffd..8d32ef8 100644 --- a/helm/wahlrecht/Chart.lock +++ b/helm/wahlrecht/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: template repository: file://../template - version: 0.1.16 -digest: sha256:7be607362a144cf5aeb909a7a770dea1c051b1c0c89277ef6cb2baea4de9abe7 -generated: "2023-10-30T13:48:19.680526+01:00" + version: 0.1.20 +digest: sha256:f32bc1668aba184201c08fdd5b027bf8704aeabcea663f08fce6aec0421d2684 +generated: "2023-11-02T11:51:45.678574+01:00" diff --git a/helm/wahlrecht/Chart.yaml b/helm/wahlrecht/Chart.yaml index 360c23f..7eb421c 100644 --- a/helm/wahlrecht/Chart.yaml +++ b/helm/wahlrecht/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: wahlrecht description: Installs the Wahlrecht API into the Kubernetes cluster type: application -version: 0.1.9 +version: 0.1.10 maintainers: - name: Jim Martens url: https://2martens.de @@ -10,7 +10,7 @@ sources: - https://git.2martens.de/2martens/wahlrecht dependencies: - name: template - version: 0.1.16 + version: 0.1.20 repository: file://../template annotations: artifacthub.io/images: | @@ -21,9 +21,7 @@ annotations: - linux/arm64 artifacthub.io/changes: | - kind: added - description: Added revisionHistoryLimit config - - kind: added - description: Added images metadata + description: Added support for Prometheus (operator) artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/wahlrecht/values.yaml b/helm/wahlrecht/values.yaml index da08e78..9adb28f 100644 --- a/helm/wahlrecht/values.yaml +++ b/helm/wahlrecht/values.yaml @@ -58,6 +58,13 @@ application: kafka: host: kafka port: 9092 +prometheus: + enabled: true + # only enable if you have the Prometheus operator installed, otherwise it will fail due to missing CRDs + useCRDs: false + # namespace: the namespace of the Prometheus installation + # the value is templated + namespace: # Overwrite with application specific environment variables # Each item has key and value, where the value is parsed as a template environment: