From 9881b58b7113ebc311fbdd3df0aaf656779ce268 Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 5 Nov 2022 03:33:03 +0100 Subject: [PATCH] fix(gotosocial): ingress vars --- gotosocial/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: