Skip to content

[bitnami/postgresql] Postgresql global fullnameOverride fix #33593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
657ee16
Fixing global postgresql fullnameOverride
May 9, 2025
302c2dc
Version Bump
May 9, 2025
993bc9d
Update ginkgo CLI version (#33575)
carrodher May 8, 2025
c723986
[bitnami/postgresql-ha] :zap: :arrow_up: Update dependency references…
bitnami-bot May 8, 2025
32e9903
[bitnami/postgresql] :zap: :arrow_up: Update dependency references (#…
bitnami-bot May 8, 2025
4041124
[bitnami/kubeapps] Deprecate Helm chart (#33578)
carrodher May 8, 2025
d6b750c
[bitnami/appsmith] Release 5.2.12 (#33504)
bitnami-bot May 8, 2025
ab74cd3
[bitnami/chainloop] :zap: :arrow_up: Update dependency references (#3…
bitnami-bot May 8, 2025
080f666
[bitnami/kubeapps] Deprecation followup (#33579)
carrodher May 9, 2025
999670e
[bitnami/rabbitmq-cluster-operator] Release 4.4.10 (#33494)
bitnami-bot May 9, 2025
9314b04
[bitnami/contour] :zap: :arrow_up: Update dependency references (#33581)
bitnami-bot May 9, 2025
351c11a
[bitnami/harbor] feat!: :arrow_up: :boom: Bump Redis(R) to 8.0 (#33502)
javsalgar May 9, 2025
4447889
[bitnami/superset] fix ingress with extraHosts failed to deploy (#33052)
moonlight8978 May 9, 2025
303ce92
[bitnami/solr] :zap: :arrow_up: Update dependency references (#33583)
bitnami-bot May 9, 2025
d6fcd6e
[bitnami/tomcat] :zap: :arrow_up: Update dependency references (#33586)
bitnami-bot May 9, 2025
7f70ecf
[bitnami/odoo] :zap: :arrow_up: Update dependency references (#33584)
bitnami-bot May 9, 2025
f5e0aac
[bitnami/contour] :zap: :arrow_up: Update dependency references (#33585)
bitnami-bot May 9, 2025
a31f1ac
Update CHANGELOG.md
bitnami-bot May 9, 2025
ffed0df
Merge branch 'main' into postgres-global-fullnameOverride-fix
KorenP1 May 9, 2025
5e1e11c
Update CHANGELOG.md
bitnami-bot May 9, 2025
939b8d1
Merge branch 'main' into postgres-global-fullnameOverride-fix
KorenP1 May 10, 2025
1b45372
Update CHANGELOG.md
bitnami-bot May 10, 2025
abff91b
Update CHANGELOG.md
bitnami-bot May 12, 2025
d86b35c
Merge branch 'bitnami:main' into postgres-global-fullnameOverride-fix
KorenP1 May 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions bitnami/postgresql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# Changelog

## 16.7.1 (2025-05-08)
## 16.7.3 (2025-05-12)

* [bitnami/postgresql] :zap: :arrow_up: Update dependency references ([#33577](https://github.com/bitnami/charts/pull/33577))
* [bitnami/postgresql] Postgresql global fullnameOverride fix ([#33593](https://github.com/bitnami/charts/pull/33593))

## <small>16.7.2 (2025-05-09)</small>

* [bitnami/kubeapps] Deprecation followup (#33579) ([77e312c](https://github.com/bitnami/charts/commit/77e312c1772d4d7c4dc5d3ac0e80f4e452e3a062)), closes [#33579](https://github.com/bitnami/charts/issues/33579)
* [bitnami/postgresql] :zap: :arrow_up: Update dependency references (#33598) ([6fa611b](https://github.com/bitnami/charts/commit/6fa611bcc3611666ac322d421ed6c2a0eb10646c)), closes [#33598](https://github.com/bitnami/charts/issues/33598)

## <small>16.7.1 (2025-05-08)</small>

* [bitnami/postgresql] :zap: :arrow_up: Update dependency references (#33577) ([71ca86a](https://github.com/bitnami/charts/commit/71ca86a822cee8d5125cab0cc7b8adc43d3f115f)), closes [#33577](https://github.com/bitnami/charts/issues/33577)

## 16.7.0 (2025-05-08)

Expand Down
2 changes: 1 addition & 1 deletion bitnami/postgresql/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ maintainers:
name: postgresql
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
version: 16.7.2
version: 16.7.3
13 changes: 12 additions & 1 deletion bitnami/postgresql/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,23 @@ SPDX-License-Identifier: APACHE-2.0

{{/* vim: set filetype=mustache: */}}

{{/*
Override "common.names.fullname" function from the common chart with priority to global.postgresql.fullnameOverride
*/}}
{{- define "common.names.fullname" -}}
{{- if and .Values.global.postgresql.fullnameOverride .Chart.IsRoot }}
{{- .Values.global.postgresql.fullnameOverride -}}
{{- else }}
{{- include "common.names.dependency.fullname" (dict "chartName" .Chart.Name "chartValues" .Values "context" $) }}
{{- end }}
{{- end -}}

{{/*
Create a default fully qualified app name for PostgreSQL Primary objects
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "postgresql.v1.primary.fullname" -}}
{{- $fullname := default (include "common.names.fullname" .) .Values.global.postgresql.fullnameOverride -}}
{{- $fullname := include "common.names.fullname" . -}}
{{- ternary (printf "%s-%s" $fullname .Values.primary.name | trunc 63 | trimSuffix "-") $fullname (eq .Values.architecture "replication") -}}
{{- end -}}

Expand Down
Loading