From a34ad8ebf23fbb985904acfd6aa1d3f36f6c1f84 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Mon, 6 Jan 2025 07:33:59 +0100 Subject: [PATCH] fix: observer run host --- charts/datalayer-observer/templates/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/datalayer-observer/templates/ingress.yaml b/charts/datalayer-observer/templates/ingress.yaml index 0da4fef..a6f998e 100644 --- a/charts/datalayer-observer/templates/ingress.yaml +++ b/charts/datalayer-observer/templates/ingress.yaml @@ -23,7 +23,7 @@ metadata: spec: ingressClassName: {{ .Values.observer.ingressClass }} rules: - - host: {{ .Values.observer.env.DATALAYER_RUN_URL }} + - host: {{ template "observer.runHost" . }} http: paths: - backend: @@ -35,6 +35,6 @@ spec: pathType: Prefix tls: - hosts: - - {{ .Values.observer.env.DATALAYER_RUN_URL }} - secretName: {{ .Values.observer.env.DATALAYER_RUN_URL }}-datalayer-api-cert-secret + - {{ template "observer.runHost" . }} + secretName: {{ template "observer.runHost" . }}-datalayer-api-cert-secret {{- end }}