[bitnami/odoo] Fix external database secret (#7192)

Co-authored-by: Oscar <oscar@local>
This commit is contained in:
Oscar
2021-08-12 04:05:20 -05:00
committed by GitHub
parent 404eb51fc0
commit a152142536
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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 -}}

View File

@@ -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 }}