Skip to content

Commit

Permalink
Update bitnami/postgresql to 12.11.2 (#446)
Browse files Browse the repository at this point in the history
* Update bitnami/postgresql to 12.11.2

This commit updates the `postgresql` dependency to `12.11`. Moreover,
this update required using versioned helper functions as introduced
in bitnami/postgresql 12.11. I.e., `postgresql.primary.*` had to be
replaced with `postgresql.v1.primary.*`.

This postgresql update fixes a bug that made global `secretKeys` not
override all `secretKeys` (e.g. in `auth`).

Indirectly introducing new features in the public API by updating
postgresql, this commit also increases the minor version of this chart.
The new version is 4.4.0.

Finally, this commit automatically updates mariadb to the latest
SemVer-compatible version.

This commit fixes #445.

Signed-off-by: Archer <[email protected]>

* Update charts/nextcloud/Chart.yaml - fix new line again 🤦 - mistake during merge conflict fix

Signed-off-by: JesseBot <[email protected]>

---------

Signed-off-by: Archer <[email protected]>
Signed-off-by: JesseBot <[email protected]>
Co-authored-by: JesseBot <[email protected]>
  • Loading branch information
archer-321 and jessebot authored Nov 7, 2023
1 parent 4de3a16 commit 815be01
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions charts/nextcloud/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 12.6.9
version: 12.11.2
- name: mariadb
repository: oci://registry-1.docker.io/bitnamicharts
version: 12.2.8
version: 12.2.9
- name: redis
repository: oci://registry-1.docker.io/bitnamicharts
version: 17.13.2
digest: sha256:e292db0f38d48fdde0b9feff58c406eef920c7e3b592e7f0ec1907e7599a7a2b
generated: "2023-07-24T16:19:14.475458+02:00"
digest: sha256:e9c91a845b3f176bc0ab93c7323e50d98fd805c7c7864d1f0a45b4650707c2f5
generated: "2023-09-16T01:30:49.121548618+02:00"
4 changes: 2 additions & 2 deletions charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 4.3.6
version: 4.4.0
appVersion: 27.1.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand All @@ -23,7 +23,7 @@ maintainers:
email: [email protected]
dependencies:
- name: postgresql
version: 12.6.*
version: 12.11.*
repository: oci://registry-1.docker.io/bitnamicharts
condition: postgresql.enabled
- name: mariadb
Expand Down
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Create environment variables used to configure the nextcloud container as well a
key: {{ .Values.externalDatabase.existingSecret.passwordKey | default "db-password" }}
{{- else if .Values.postgresql.enabled }}
- name: POSTGRES_HOST
value: {{ template "postgresql.primary.fullname" .Subcharts.postgresql }}
value: {{ template "postgresql.v1.primary.fullname" .Subcharts.postgresql }}
- name: POSTGRES_DB
{{- if .Values.postgresql.auth.database }}
value: {{ .Values.postgresql.auth.database | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ spec:
name: {{ .Values.externalDatabase.existingSecret.secretName | default (printf "%s-%s" .Release.Name "db") }}
key: {{ .Values.externalDatabase.existingSecret.usernameKey | default "db-username" }}
- name: POSTGRES_HOST
value: {{ template "postgresql.primary.fullname" .Subcharts.postgresql }}
value: {{ template "postgresql.v1.primary.fullname" .Subcharts.postgresql }}
command:
- "sh"
- "-c"
Expand Down

0 comments on commit 815be01

Please sign in to comment.