mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 06:47:25 +08:00
[bitnami/odoo] Fix external database secret (#7192)
Co-authored-by: Oscar <oscar@local>
This commit is contained in:
@@ -27,4 +27,4 @@ name: odoo
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-odoo
|
||||
- https://www.odoo.com/
|
||||
version: 19.0.4
|
||||
version: 19.0.5
|
||||
|
||||
@@ -107,7 +107,7 @@ Return the PostgreSQL Secret Name
|
||||
{{- else if .Values.externalDatabase.existingSecret }}
|
||||
{{- printf "%s" .Values.externalDatabase.existingSecret -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name "externaldb" -}}
|
||||
{{- printf "%s-externaldb" (include "common.names.fullname" .) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ printf "%s-externaldb" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
|
||||
name: {{ printf "%s-externaldb" (include "common.names.fullname" .) }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
||||
{{- if .Values.commonLabels }}
|
||||
|
||||
Reference in New Issue
Block a user