[bitnami/odoo] Fix name on default external database secret creation (#22683)

Related to issue #14741

Signed-off-by: Aldo Maria Vizcaino <aldo.vizcaino87@gmail.com>
This commit is contained in:
Aldo
2024-01-26 15:26:28 +07:00
committed by GitHub
parent 7d68f99b67
commit ebf65efe2a
2 changed files with 2 additions and 2 deletions

View File

@@ -34,4 +34,4 @@ maintainers:
name: odoo
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/odoo
version: 25.3.0
version: 25.3.1

View File

@@ -98,7 +98,7 @@ Return the PostgreSQL Secret Name
{{- default (include "odoo.postgresql.fullname" .) (tpl .Values.postgresql.auth.existingSecret $) -}}
{{- end -}}
{{- else -}}
{{- default (printf "%s-externaldb" .Release.Name | trunc 63 | trimSuffix "-") (tpl .Values.externalDatabase.existingSecret $) -}}
{{- default (printf "%s-externaldb" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-") (tpl .Values.externalDatabase.existingSecret $) -}}
{{- end -}}
{{- end -}}