Skip to content

Commit 634691f

Browse files
committed
feat(helm): add value to customise env vars of job controller (#781)
1 parent 35ee032 commit 634691f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

helm/reana/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
1010
|----------------------------------------------------------|--------------------------------------------------------------------------------------|-------------------------------------------------|
1111
| `components.reana_db.enabled` | Instantiate a PostgreSQL database inside the cluster | true |
1212
| `components.reana_db.image` | [PostgreSQL image](https://hub.docker.com/_/postgres) to use | `docker.io/library/postgres:12.13` |
13+
| `components.reana_job_controller.environment` | [REANA-Job-Controller](https://github.com/reanahub/reana-job-controller) environment variables | `{}` |
1314
| `components.reana_job_controller.image` | [REANA-Job-Controller image](https://hub.docker.com/r/reanahub/reana-job-controller) to use | `docker.io/reanahub/reana-job-controller:<chart-release-version>` |
1415
| `components.reana_message_broker.image` | [REANA-Message-Broker image](https://hub.docker.com/r/reanahub/reana-message-broker) to use | `docker.io/reanahub/reana-message-broker:<chart-release-version>` |
1516
| `components.reana_message_broker.imagePullPolicy` | REANA-Message-Broker image pull policy | IfNotPresent |

helm/reana/templates/reana-workflow-controller.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ spec:
155155
value: {{ .Values.components.reana_workflow_engine_snakemake.environment | toJson | quote }}
156156
- name: REANA_WORKFLOW_ENGINE_YADAGE_ENV_VARS
157157
value: {{ .Values.components.reana_workflow_engine_yadage.environment | toJson | quote }}
158+
# Environment variables for job controller
159+
- name: REANA_JOB_CONTROLLER_ENV_VARS
160+
value: {{ .Values.components.reana_job_controller.environment | toJson | quote }}
158161
{{- if .Values.reana_hostname }}
159162
- name: REANA_HOSTNAME
160163
value: {{ .Values.reana_hostname }}

helm/reana/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ components:
120120
environment: {}
121121
reana_job_controller:
122122
image: docker.io/reanahub/reana-job-controller:0.9.2
123+
environment: {}
123124
reana_message_broker:
124125
imagePullPolicy: IfNotPresent
125126
image: docker.io/reanahub/reana-message-broker:0.9.2

0 commit comments

Comments
 (0)