From 524c5e46844b84125871f6ae34e035dfcd05c739 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Mon, 6 Jan 2025 07:38:08 +0100 Subject: [PATCH] chore: observer helper --- charts/datalayer-observer/templates/_helpers.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 charts/datalayer-observer/templates/_helpers.yaml diff --git a/charts/datalayer-observer/templates/_helpers.yaml b/charts/datalayer-observer/templates/_helpers.yaml new file mode 100644 index 0000000..64e9a85 --- /dev/null +++ b/charts/datalayer-observer/templates/_helpers.yaml @@ -0,0 +1,6 @@ +{{/* +Define the value for the datalayer run host. +*/}} +{{- define "observer.runHost" -}} +{{- printf "%s" .Values.observer.env.DATALAYER_RUN_URL | replace "https://" "" -}} +{{- end -}}