From 193606b9654ff3ff9a9b35c2ad7214664bf8ed5a Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 2 Nov 2023 11:51:11 +0100 Subject: [PATCH] Added support for prometheus operator --- helm/configserver/Chart.lock | 6 +++--- helm/configserver/Chart.yaml | 10 ++++------ helm/configserver/values.yaml | 5 +++++ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/helm/configserver/Chart.lock b/helm/configserver/Chart.lock index 31abe4c..093ca4a 100644 --- a/helm/configserver/Chart.lock +++ b/helm/configserver/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: template repository: file://../template - version: 0.1.17 -digest: sha256:6b0edcf5d2477cd788059d296cbb307091b1382ebb7f2fb0634d2a12b43523dc -generated: "2023-11-02T00:10:11.690888+01:00" + version: 0.1.20 +digest: sha256:f32bc1668aba184201c08fdd5b027bf8704aeabcea663f08fce6aec0421d2684 +generated: "2023-11-02T11:50:35.049198+01:00" diff --git a/helm/configserver/Chart.yaml b/helm/configserver/Chart.yaml index 1ce6e79..5d09232 100644 --- a/helm/configserver/Chart.yaml +++ b/helm/configserver/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: configserver -version: 0.1.20 +version: 0.1.21 type: application description: "Minimal Spring Boot config server" maintainers: @@ -10,7 +10,7 @@ sources: - https://git.2martens.de/2martens/config-server dependencies: - name: template - version: 0.1.17 + version: 0.1.20 repository: file://../template annotations: artifacthub.io/images: | @@ -20,10 +20,8 @@ annotations: - linux/amd64 - linux/arm64 artifacthub.io/changes: | - - kind: added - description: Added support for prometheus - - kind: added - description: Added support for revisionHistoryLimit + - kind: changed + description: Added support for prometheus operator artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/configserver/values.yaml b/helm/configserver/values.yaml index dc60e58..71903ce 100644 --- a/helm/configserver/values.yaml +++ b/helm/configserver/values.yaml @@ -55,6 +55,11 @@ application: 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: