Skip to content
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

helm: fix more helper values, bump chart version to 3.0.1 #5991

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion chart/hyrax/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions chart/hyrax/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ 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 }}
{{- end -}}

{{- define "hyrax.postgresql.username" -}}
{{- if .Values.postgresql.enabled }}
{{- .Values.postgresql.postgresqlUsername }}
{{- .Values.postgresql.auth.username }}
{{- else }}
{{- .Values.externalPostgresql.username | default "postgres" }}
{{- end }}
Expand Down