[bitnami/postgresql] Add secretAnnotation value (#31984)

* [bitnami/postgresql] Add secretAnnotation value

update PR link

Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* bump up chart version

Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* revert  Chart.yaml

Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* bump up version

Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>

* Update CHANGELOG.md

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

* Update bitnami/postgresql/Chart.yaml

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>

Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>

* Update CHANGELOG.md

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

---------

Signed-off-by: Alexander Chebotov <a.chebotov@arenadata.io>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com>
Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
Co-authored-by: Alexander Chebotov <a.chebotov@arenadata.io>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
This commit is contained in:
Aleksandr Chebotov
2025-03-10 13:25:37 +03:00
committed by GitHub
parent d1fe1229d0
commit 7284b3f65a
5 changed files with 35 additions and 9 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 16.4.16 (2025-03-03)
## 16.5.0 (2025-03-10)
* [bitnami/postgresql] Release 16.4.16 ([#32250](https://github.com/bitnami/charts/pull/32250))
* [bitnami/postgresql] Add secretAnnotation value ([#31984](https://github.com/bitnami/charts/pull/31984))
## <small>16.4.16 (2025-03-03)</small>
* [bitnami/postgresql] Release 16.4.16 (#32250) ([353c702](https://github.com/bitnami/charts/commit/353c702d65c42071ba93ae2d01286528fc8a0c9f)), closes [#32250](https://github.com/bitnami/charts/issues/32250)
## <small>16.4.15 (2025-03-03)</small>

View File

@@ -35,4 +35,4 @@ maintainers:
name: postgresql
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
version: 16.4.16
version: 16.5.0

View File

@@ -372,6 +372,7 @@ If you already have data in it, you will fail to sync to standby nodes for all c
| `extraDeploy` | Array of extra objects to deploy with the release (evaluated as a template) | `[]` |
| `commonLabels` | Add labels to all the deployed resources | `{}` |
| `commonAnnotations` | Add annotations to all the deployed resources | `{}` |
| `secretAnnotations` | Add annotations to the secrets | `{}` |
| `diagnosticMode.enabled` | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | `false` |
| `diagnosticMode.command` | Command to override all containers in the statefulset | `["sleep"]` |
| `diagnosticMode.args` | Args to override all containers in the statefulset | `["infinity"]` |

View File

@@ -33,8 +33,14 @@ metadata:
name: {{ include "common.names.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- if or .Values.secretAnnotations .Values.commonAnnotations }}
annotations:
{{- if .Values.secretAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.secretAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
type: Opaque
data:
@@ -61,8 +67,14 @@ metadata:
name: {{ include "common.names.fullname" . }}-svcbind-postgres
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- if or .Values.secretAnnotations .Values.commonAnnotations }}
annotations:
{{- if .Values.secretAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.secretAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
type: servicebinding.io/postgresql
data:
@@ -83,8 +95,14 @@ metadata:
name: {{ include "common.names.fullname" . }}-svcbind-custom-user
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- if or .Values.secretAnnotations .Values.commonAnnotations }}
annotations:
{{- if .Values.secretAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.secretAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
type: servicebinding.io/postgresql
data:

View File

@@ -85,6 +85,9 @@ commonLabels: {}
## @param commonAnnotations Add annotations to all the deployed resources
##
commonAnnotations: {}
## @param secretAnnotations Add annotations to the secrets
##
secretAnnotations: {}
## Enable diagnostic mode in the statefulset
##
diagnosticMode: