From 1598b96a64ad0752465ffc18ede068c4b2324232 Mon Sep 17 00:00:00 2001 From: Mirco Michel Date: Tue, 21 Jan 2025 18:06:49 +0100 Subject: [PATCH] [prometheus-artifactory-exporter] Add option to configure JFrog Access Federation validation through Helm (#24) * Add option to configure JFrog Access Federation validation through Helm * Bump chart patch version * Bump app version to new artifactory-exporter release including corresponding changes Co-authored-by: Peiman Jafari <18074432+peimanja@users.noreply.github.com> * Bump minor version as there is a new feature and new app version in this change Co-authored-by: Peiman Jafari <18074432+peimanja@users.noreply.github.com> --------- Co-authored-by: Peiman Jafari <18074432+peimanja@users.noreply.github.com> --- charts/prometheus-artifactory-exporter/Chart.yaml | 4 ++-- .../prometheus-artifactory-exporter/templates/deployment.yaml | 2 ++ charts/prometheus-artifactory-exporter/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/prometheus-artifactory-exporter/Chart.yaml b/charts/prometheus-artifactory-exporter/Chart.yaml index c57870d..17a2e57 100644 --- a/charts/prometheus-artifactory-exporter/Chart.yaml +++ b/charts/prometheus-artifactory-exporter/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "1.14.0" +appVersion: "1.15.0" description: A Helm chart for the Prometheus Artifactory Exporter name: prometheus-artifactory-exporter -version: 0.6.4 +version: 0.7.0 keywords: - metrics - artifactory diff --git a/charts/prometheus-artifactory-exporter/templates/deployment.yaml b/charts/prometheus-artifactory-exporter/templates/deployment.yaml index acf5e98..b5cc416 100644 --- a/charts/prometheus-artifactory-exporter/templates/deployment.yaml +++ b/charts/prometheus-artifactory-exporter/templates/deployment.yaml @@ -76,6 +76,8 @@ spec: value: {{ .Values.options.verifySSL | quote }} - name: ARTI_TIMEOUT value: {{ .Values.options.timeout| quote }} + - name: ACCESS_FEDERATION_TARGET + value: {{ .Values.options.accessFederationTarget | quote }} envFrom: - secretRef: name: {{ template "prometheus-artifactory-exporter.secret" . }} diff --git a/charts/prometheus-artifactory-exporter/values.yaml b/charts/prometheus-artifactory-exporter/values.yaml index 0698c7b..011f4ca 100644 --- a/charts/prometheus-artifactory-exporter/values.yaml +++ b/charts/prometheus-artifactory-exporter/values.yaml @@ -51,6 +51,8 @@ options: # - replication_status # adds the `status` label to `artifactory_replication_enabled` metric # - federation_status # enables `artifactory_federation_*` metrics # - open_metrics # exposes pen Metrics from the JFrog Platform + # - access_federation_validate # enables JFrog Access Federation validation status metric + accessFederationTarget: "" service: type: ClusterIP