fix(gotosocial): ingress vars

This commit is contained in:
chris 2022-11-05 03:33:03 +01:00
parent c27be8aee2
commit 9881b58b71
Signed by: chris
GPG key ID: 75EFC7666CF51AD6

View file

@ -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: