From f89c8a15ecbc830d4e0aa2cf7148765580dfa823 Mon Sep 17 00:00:00 2001 From: Alexandra Dunn Date: Thu, 23 Mar 2023 12:48:49 -0700 Subject: [PATCH] helm: fix more helper values, bump chart version to 3.0.1 --- chart/hyrax/Chart.yaml | 2 +- chart/hyrax/templates/_helpers.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/hyrax/Chart.yaml b/chart/hyrax/Chart.yaml index c8da013771..46168e26a8 100644 --- a/chart/hyrax/Chart.yaml +++ b/chart/hyrax/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: hyrax description: An open-source, Samvera-powered digital repository system type: application -version: 3.0.0 +version: 3.0.1 appVersion: 3.3.0 dependencies: - name: fcrepo diff --git a/chart/hyrax/templates/_helpers.tpl b/chart/hyrax/templates/_helpers.tpl index 8a66109458..ec596646f4 100644 --- a/chart/hyrax/templates/_helpers.tpl +++ b/chart/hyrax/templates/_helpers.tpl @@ -108,7 +108,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this {{- define "hyrax.postgresql.database" -}} {{- if .Values.postgresql.enabled }} -{{- .Values.postgresql.postgresqlDatabase }} +{{- .Values.postgresql.auth.database }} {{- else }} {{- .Values.externalPostgresql.database | default ( include "hyrax.fullname" . ) }} {{- end }} @@ -116,7 +116,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this {{- define "hyrax.postgresql.username" -}} {{- if .Values.postgresql.enabled }} -{{- .Values.postgresql.postgresqlUsername }} +{{- .Values.postgresql.auth.username }} {{- else }} {{- .Values.externalPostgresql.username | default "postgres" }} {{- end }}