Skip to content

Commit 4ca4e8e

Browse files
committedFeb 5, 2024
feat(helm): add value to customise PostgreSQL docker image (reanahub#774)
Closes reanahub#773
1 parent 311e157 commit 4ca4e8e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
 

‎helm/reana/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
99
| Parameter | Description | Default value |
1010
|----------------------------------------------------------|--------------------------------------------------------------------------------------|-------------------------------------------------|
1111
| `components.reana_db.enabled` | Instantiate a PostgreSQL database inside the cluster | true |
12+
| `components.reana_db.image` | [PostgreSQL image](https://hub.docker.com/_/postgres) to use | `docker.io/library/postgres:12.13` |
1213
| `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>` |
1314
| `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>` |
1415
| `components.reana_message_broker.imagePullPolicy` | REANA-Message-Broker image pull policy | IfNotPresent |

‎helm/reana/templates/reana-db.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
spec:
3232
containers:
3333
- name: db
34-
image: docker.io/library/postgres:12.13
34+
image: {{ .Values.components.reana_db.image }}
3535
args:
3636
- -c
3737
- max_connections=300

‎helm/reana/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ components:
7979
imagePullPolicy: IfNotPresent
8080
image: docker.io/reanahub/reana-ui:0.9.3
8181
reana_db:
82+
image: docker.io/library/postgres:12.13
8283
enabled: true
8384
reana_server:
8485
imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)