make hostname a top level parameter

This commit is contained in:
Florian Wolpert
2020-09-25 12:41:26 +02:00
parent 25e43ee7e3
commit f994c7daab
5 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled }}
Application URL:
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .Values.ingress.host }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .Values.hostname }}
{{- else if contains "NodePort" .Values.service.type }}
Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "mailman3.fullname" . }})