Skip to content

Commit

Permalink
feat(helm): add value to customise PostgreSQL docker image (reanahub#774
Browse files Browse the repository at this point in the history
)

Closes reanahub#773
  • Loading branch information
mdonadoni committed Feb 5, 2024
1 parent 311e157 commit bda4e07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions helm/reana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| Parameter | Description | Default value |
|----------------------------------------------------------|--------------------------------------------------------------------------------------|-------------------------------------------------|
| `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.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
2 changes: 1 addition & 1 deletion helm/reana/templates/reana-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: db
image: docker.io/library/postgres:12.13
image: {{ .Values.components.reana_db.image }}
args:
- -c
- max_connections=300
Expand Down
1 change: 1 addition & 0 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ components:
image: docker.io/reanahub/reana-ui:0.9.3
reana_db:
enabled: true
image: docker.io/library/postgres:12.13
reana_server:
imagePullPolicy: IfNotPresent
image: docker.io/reanahub/reana-server:0.9.2
Expand Down

0 comments on commit bda4e07

Please sign in to comment.