Skip to content

Commit

Permalink
helm: fix more helper values, bump chart version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dunn authored and tamsin johnson committed Mar 23, 2023
1 parent 805e440 commit 2a74f88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 2a74f88

Please sign in to comment.