Skip to content

Commit

Permalink
feat(helm): add value to customise env vars of job controller (reanah…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Feb 22, 2024
1 parent 8c369a8 commit c8d24c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm/reana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
|----------------------------------------------------------|--------------------------------------------------------------------------------------|-------------------------------------------------|
| `components.reana_db.enabled` | Instantiate a PostgreSQL database inside the cluster | true |
| `components.reana_db.image` | [PostgreSQL image](https://hub.docker.com/_/postgres) to use | `docker.io/library/postgres:12.13` |
| `components.reana_job_controller.environment` | [REANA-Job-Controller](https://github.com/reanahub/reana-job-controller) environment variables | `{}` |
| `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>` |
| `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>` |
| `components.reana_message_broker.imagePullPolicy` | REANA-Message-Broker image pull policy | IfNotPresent |
Expand Down
3 changes: 3 additions & 0 deletions helm/reana/templates/reana-workflow-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ spec:
value: {{ .Values.components.reana_workflow_engine_snakemake.environment | toJson | quote }}
- name: REANA_WORKFLOW_ENGINE_YADAGE_ENV_VARS
value: {{ .Values.components.reana_workflow_engine_yadage.environment | toJson | quote }}
# Environment variables for job controller
- name: REANA_JOB_CONTROLLER_ENV_VARS
value: {{ .Values.components.reana_job_controller.environment | toJson | quote }}
{{- if .Values.reana_hostname }}
- name: REANA_HOSTNAME
value: {{ .Values.reana_hostname }}
Expand Down
1 change: 1 addition & 0 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ components:
environment: {}
reana_job_controller:
image: docker.io/reanahub/reana-job-controller:0.9.2
environment: {}
reana_message_broker:
imagePullPolicy: IfNotPresent
image: docker.io/reanahub/reana-message-broker:0.9.2
Expand Down

0 comments on commit c8d24c5

Please sign in to comment.