[bitnami/postgresql] Fix issue with upgrade to 11.3.0 (#10452)

* Make existing secret keys choosable.

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Increase major instead of minor, because of a breaking change. I changed a bool into an object.

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* - Fix version
- Revert existingSecret to a string
- Revert to original README.md & add new keys

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* # Better defaults

- Remove defaults from global vars
- Set defaults to previous defaults
- Updates README.md

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* [bitnami/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* # Possible fix for https://github.com/bitnami/charts/issues/10450

- Revert to original logic when to create a secret
- Update chart version to 11.3.1

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* Update chart version to 11.4.1

Signed-off-by: Tobias Effner <tobias.effner@rackspace.com>

* [bitnami/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Tobias Effner <tobias.effner@rackspace.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Tobias Michael Effner
2022-05-30 12:13:35 +02:00
committed by GitHub
parent a14f3011df
commit 38ecf5af12
3 changed files with 5 additions and 7 deletions

View File

@@ -26,4 +26,4 @@ name: postgresql
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 11.5.0
version: 11.5.1

View File

@@ -152,9 +152,7 @@ Get the user-password key.
Return true if a secret object should be created
*/}}
{{- define "postgresql.createSecret" -}}
{{- if or .Values.global.postgresql.auth.existingSecret .Values.auth.existingSecret -}}
{{- false -}}
{{- else -}}
{{- if not (or .Values.global.postgresql.auth.existingSecret .Values.auth.existingSecret) -}}
{{- true -}}
{{- end -}}
{{- end -}}

View File

@@ -94,7 +94,7 @@ diagnosticMode:
image:
registry: docker.io
repository: bitnami/postgresql
tag: 14.3.0-debian-10-r13
tag: 14.3.0-debian-10-r17
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -1088,7 +1088,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/bitnami-shell
tag: 10-debian-10-r435
tag: 10-debian-10-r439
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -1173,7 +1173,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/postgres-exporter
tag: 0.10.1-debian-10-r123
tag: 0.10.1-debian-10-r126
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.