From b49bd8f33063d4bc24c9f75f7cda90c9dc9709b2 Mon Sep 17 00:00:00 2001 From: Matlavv Date: Thu, 12 Dec 2024 16:02:19 +0100 Subject: [PATCH] update nginx ingress host --- opensource/templates/nginx/nginx-ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opensource/templates/nginx/nginx-ingress.yaml b/opensource/templates/nginx/nginx-ingress.yaml index 4df0873..949b1f8 100644 --- a/opensource/templates/nginx/nginx-ingress.yaml +++ b/opensource/templates/nginx/nginx-ingress.yaml @@ -11,11 +11,11 @@ spec: {{- if .Values.ingress.tls }} tls: - hosts: - - {{ .Values.env }}.{{ .Values.domain }} + - {{ .Values.env }}{{ .Values.domain }} secretName: {{ .Release.Name }}-tls-certificate {{- end }} rules: - - host: '{{ .Values.env }}.{{ .Values.domain }}' + - host: '{{ .Values.env }}{{ .Values.domain }}' http: paths: - path: {{ if hasKey .Values.mediaProvider "apiPrefix" }}{{ .Values.mediaProvider.apiPrefix }}/assets/media{{ else }}/assets/media{{ end }} @@ -31,4 +31,4 @@ spec: service: name: nginx port: - number: 80 \ No newline at end of file + number: 80