diff --git a/gotosocial/templates/ingress.yaml b/gotosocial/templates/ingress.yaml index 6f0d823..49b1fd2 100644 --- a/gotosocial/templates/ingress.yaml +++ b/gotosocial/templates/ingress.yaml @@ -11,7 +11,7 @@ metadata: traefik.ingress.kubernetes.io/router.entrypoints: websecure spec: rules: - - host: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }} + - host: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsHost }} http: paths: - pathType: Prefix @@ -23,7 +23,7 @@ spec: number: 8080 tls: - hosts: - - {{ .Release.Name }}.{{ .Values.gtsBulkDomain }} + - {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsHost }} secretName: "{{ .Release.Name }}-cert" --- apiVersion: networking.k8s.io/v1 @@ -37,7 +37,7 @@ metadata: spec: rules: - - host: {{ .Release.Name }}.{{ .Values.gtsBulkDomain }} + - host: {{ default (cat .Release.Name "." .Values.gtsBulkDomain | nospace) .Values.gtsHost }} http: paths: - backend: