Skip to content

Commit

Permalink
update rucio-consistency helm chart with environmental variables for …
Browse files Browse the repository at this point in the history
…prometheus monitoring and version
  • Loading branch information
eachristgr committed Oct 9, 2024
1 parent eed13ff commit ad0d98d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/rucio-consistency/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions helm/rucio-consistency/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
8 changes: 8 additions & 0 deletions helm/rucio-consistency/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad0d98d

Please sign in to comment.