Skip to content

Commit 97adf77

Browse files
committed
values: allow templates on invenio.hostname
1 parent 443e208 commit 97adf77

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/invenio/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Return the proper Invenio image name
7272
This template renders the hostname for Invenio.
7373
*/}}
7474
{{- define "invenio.hostname" -}}
75-
{{- required "Missing .Values.invenio.hostname" .Values.invenio.hostname }}
75+
{{- tpl (required "Missing .Values.invenio.hostname" .Values.invenio.hostname .) }}
7676
{{- end -}}
7777

7878
############################ Redis Hostname ############################

charts/invenio/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ ingress:
4444
tlsSecretNameOverride: ""
4545

4646
invenio:
47+
## @param invenio.hostname Invenio hostname (templated) used in configuration varibales like APP_ALLOWED_HOSTS, SITE_HOSTNAME or SITE_URL
48+
##
4749
hostname: ""
4850
## @param invenio.secret_key DEPRECATED: this is automatically generated now, or set by custom secret using invenio.existingSecret
4951
##

0 commit comments

Comments
 (0)