Skip to content

Commit bebf467

Browse files
fix(charts/puris): replace bitnami repository by bitnamilegacy
1 parent cf03b8b commit bebf467

File tree

4 files changed

+43
-7
lines changed

4 files changed

+43
-7
lines changed

charts/puris/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies:
3535
# This is the chart version. This version number should be incremented each time you make changes
3636
# to the chart and its templates, including the app version.
3737
# Versions are expected to follow Semantic Versioning (https://semver.org/)
38-
version: 4.1.0
38+
version: 4.1.1
3939

4040
# This is the version number of the application being deployed. This version number should be
4141
# incremented each time you make changes to the application. Versions are not expected to

charts/puris/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# puris
22

3-
![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.0](https://img.shields.io/badge/AppVersion-3.3.0-informational?style=flat-square)
3+
![Version: 4.1.1](https://img.shields.io/badge/Version-4.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.3.0](https://img.shields.io/badge/AppVersion-3.3.0-informational?style=flat-square)
44

55
A helm chart for Kubernetes deployment of PURIS
66

@@ -15,13 +15,13 @@ A helm chart for Kubernetes deployment of PURIS
1515
To install the chart with the release name `puris`:
1616

1717
```shell
18-
$ helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
19-
$ helm install puris tractusx-dev/puris
18+
helm repo add tractusx-dev https://eclipse-tractusx.github.io/charts/dev
19+
helm install puris tractusx-dev/puris
2020
```
2121
To install the helm chart into your cluster with your values:
2222

2323
```shell
24-
$ helm install -f your-values.yaml puris tractusx-dev/puris
24+
helm install -f your-values.yaml puris tractusx-dev/puris
2525
```
2626

2727
To use the helm chart as a dependency:
@@ -40,13 +40,13 @@ dependencies:
4040
## Requirements
4141
4242
| Repository | Name | Version |
43-
| ---------------------------------- | ---------- | ------- |
43+
|------------------------------------|------------|---------|
4444
| https://charts.bitnami.com/bitnami | postgresql | 12.12.x |
4545
4646
## Values
4747
4848
| Key | Type | Default | Description |
49-
| ----------------------------------------------------------------------------------------------------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
49+
|-------------------------------------------------------------------------------------------------------------------------------------|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
5050
| backend.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution | list | `[{"podAffinityTerm":{"labelSelector":{"matchExpressions":[{"key":"app.kubernetes.io/name","operator":"DoesNotExist"}]},"topologyKey":"kubernetes.io/hostname"},"weight":100}]` | Rules for the scheduler to find a pod |
5151
| backend.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions | list | `[{"key":"app.kubernetes.io/name","operator":"DoesNotExist"}]` | Matching Expressions as key and operators for the pod affinity |
5252
| backend.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.topologyKey | string | `"kubernetes.io/hostname"` | Topology key of the Kubernetes cluster |
@@ -243,6 +243,8 @@ dependencies:
243243
| postgresql.auth.passwordPostgres | string | `""` | Password for the database. Secret-key 'postgres-password'. |
244244
| postgresql.auth.username | string | `"puris"` | Username for the custom database user. |
245245
| postgresql.enabled | bool | `true` | Enable postgres by default, set to false to use existing postgres. Make sure to set backend.puris.jpa.hibernate.ddl-auto accordingly (by default database is created using hibernate ddl from backend). |
246+
| postgresql.image.repository | string | `"bitnamilegacy/postgresql"` | workaround to use bitnamilegacy chart for version 12.12.x till committers align on new postgresql charts |
247+
| postgresql.image.tag | string | `"15.4.0-debian-11-r45"` | workaround to use bitnamilegacy chart for version 12.12.x till committers align on new postgresql charts |
246248
| postgresql.service | object | `{"ports":{"postgresql":5432}}` | Possibility to override the name nameOverride: "" |
247249
| postgresql.service.ports.postgresql | int | `5432` | Port of postgres database. |
248250

charts/puris/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,11 @@ backend:
539539
# ENV_NAME: value
540540

541541
postgresql:
542+
image:
543+
# -- workaround to use bitnamilegacy chart for version 12.12.x till committers align on new postgresql charts
544+
repository: bitnamilegacy/postgresql
545+
# -- workaround to use bitnamilegacy chart for version 12.12.x till committers align on new postgresql charts
546+
tag: 15.4.0-debian-11-r45
542547
# -- Enable postgres by default, set to false to use existing postgres. Make sure to set
543548
# backend.puris.jpa.hibernate.ddl-auto accordingly (by default database is created using hibernate ddl from
544549
# backend).

docs/admin/Migration_Guide.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,35 @@ This migration guide is based on the `chartVersion` of the chart that also bumps
2020
- [NOTICE](#notice)
2121
<!-- TOC -->
2222

23+
> [!WARNING]
24+
> Bitnami does change their update and versioning policy starting with 2025-08-28. To install the existing charts with its bitnami dependencies, please consider to manually specify the properties `image.repository` and `image.tag` specifying for the following dependencies:
25+
>
26+
> - postgresql (image: bitnamilegacy/postgresql:15.4.0-debian-11-r45)
27+
>
28+
> You have the following options to specify the container image:
29+
>
30+
> 1. Specify in `values.yaml` below `postgresql`.
31+
>
32+
> ```yaml
33+
> postgresql:
34+
> image:
35+
> repository: bitnamilegacy/postgresql
36+
> tag: 15.4.0-debian-11-r45
37+
> ```
38+
>
39+
> 2. Set during installation.
40+
>
41+
> ```bash
42+
> helm install puris -n tractusx-dev/puris \
43+
> --set postgresql.image.repository=bitnamilegacy/postgresql
44+
> --set postgresql.image.tag=15.4.0-debian-11-r45
45+
> ```
46+
>
47+
> Notes:
48+
>
49+
> - Deploying an older version of the software may have used an older postgresql version. This is NOT applicable for the PURIS charts.
50+
> - The community is working out on how to resolve the issue.
51+
2352
## Version 3.0.x to 4.0.x
2453
2554
### Moving IDP related configuration to its own section

0 commit comments

Comments
 (0)