Skip to content

Commit

Permalink
fix(postgresql): Pin postgres image to 14.5.0 (#432)
Browse files Browse the repository at this point in the history
Bitnami chart does not handle the upgrade process of postgres versions.

Error from deployment:
```

2024-07-02 12:45:44.584 GMT [1] FATAL:  database files are incompatible with server
2024-07-02 12:45:44.584 GMT [1] DETAIL:  The data directory was initialized by PostgreSQL version 14, which is not compatible with this version 16.3.
```

Co-authored-by: Marcin Jasion <mjasion@users.noreply.github.com>
  • Loading branch information
mjasion and mjasion authored Jul 2, 2024
1 parent 17af165 commit 3873e3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: studio
description: A Helm chart for Kubernetes
type: application
version: 0.15.6
version: 0.15.7
appVersion: "v2.125.0"
maintainers:
- name: iterative
Expand Down
3 changes: 2 additions & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.15.6](https://img.shields.io/badge/Version-0.15.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.125.0](https://img.shields.io/badge/AppVersion-v2.125.0-informational?style=flat-square)
![Version: 0.15.7](https://img.shields.io/badge/Version-0.15.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.125.0](https://img.shields.io/badge/AppVersion-v2.125.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down Expand Up @@ -112,6 +112,7 @@ A Helm chart for Kubernetes
| postgresql.fullnameOverride | string | `"studio-postgresql"` | Postgres name override |
| postgresql.global.postgresql.auth.database | string | `"iterativeai"` | Postgres database |
| postgresql.global.postgresql.auth.postgresPassword | string | `"postgres"` | Postgres password |
| postgresql.image.tag | string | `"14.5.0-debian-11-r35"` | |
| redis.auth | object | `{"enabled":false}` | Redis authentication settings |
| redis.auth.enabled | bool | `false` | Redis authentication disabled |
| redis.commonConfiguration | string | `"timeout 20"` | Redis common configuration to be added into the ConfigMap |
Expand Down
2 changes: 2 additions & 0 deletions charts/studio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ postgresql:
# -- Postgres name override
fullnameOverride: studio-postgresql

image:
tag: 14.5.0-debian-11-r35
# Change this before deploying
global:
postgresql:
Expand Down

0 comments on commit 3873e3a

Please sign in to comment.