From ad0d98d6eb11306f3e461ee6d46f4c39270373db Mon Sep 17 00:00:00 2001 From: Christos Emmanouil Date: Wed, 18 Sep 2024 11:42:22 +0200 Subject: [PATCH] update rucio-consistency helm chart with environmental variables for prometheus monitoring and version --- helm/rucio-consistency/Chart.yaml | 2 +- helm/rucio-consistency/templates/deployment.yaml | 16 ++++++++++++++++ helm/rucio-consistency/values.yaml | 8 ++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/helm/rucio-consistency/Chart.yaml b/helm/rucio-consistency/Chart.yaml index 1873617..f0696a1 100644 --- a/helm/rucio-consistency/Chart.yaml +++ b/helm/rucio-consistency/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.3.0 +version: 3.3.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm/rucio-consistency/templates/deployment.yaml b/helm/rucio-consistency/templates/deployment.yaml index 2565ab3..ffe86bd 100644 --- a/helm/rucio-consistency/templates/deployment.yaml +++ b/helm/rucio-consistency/templates/deployment.yaml @@ -46,6 +46,22 @@ spec: key: db_ro_string - name: RUCIO_CFG_DATABASE_SCHEMA value: {{ .Values.consistency.schema }} + - name: PROMETHEUS_SERVERS + value: {{ .Values.consistency.prometheus_servers }} + - name: PROMETHEUS_PREFIX + value: {{ .Values.consistency.prometheus_prefix }} + - name: PROMETHEUS_LABELS + value: {{ .Values.consistency.prometheus_labels }} + - name: RUCIO_HOST + value: {{ .Values.consistency.rucio_host }} + - name: AUTH_HOST + value: {{ .Values.consistency.auth_host }} + - name: AUTH_TYPE + value: {{ .Values.consistency.auth_type }} + - name: CA_CERT + value: {{ .Values.consistency.ca_cert }} + - name: REQUEST_RETRIES + value: {{ .Values.consistency.request_retries }} command: ["/consistency/run.sh"] resources: {{- toYaml .Values.resources | nindent 12 }} diff --git a/helm/rucio-consistency/values.yaml b/helm/rucio-consistency/values.yaml index e7f2a70..1da3fa8 100644 --- a/helm/rucio-consistency/values.yaml +++ b/helm/rucio-consistency/values.yaml @@ -17,6 +17,14 @@ jobber: data: [stdout, stderr] consistency: + prometheus_servers: "" + prometheus_prefix: "" + prometheus_labels: "" + rucio_host: "" + auth_host: "" + auth_type: "" + ca_cert: "" + request_retries: "" schema: "CMS_RUCIO_PROD" logLevel: "INFO" scratchSize: 100Gi