From 3413c5bb6e2f13289ff788b72747727ce4f1aa3d Mon Sep 17 00:00:00 2001 From: Aashir Siddiqui Date: Mon, 29 Jul 2024 14:54:20 +0100 Subject: [PATCH 1/3] Addedenv variable to values.yaml later accessed through webui.yaml Signed-off-by: Aashir Siddiqui --- charts/ecosystem/templates/webui.yaml | 2 ++ charts/ecosystem/values.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/charts/ecosystem/templates/webui.yaml b/charts/ecosystem/templates/webui.yaml index 96894c9..a5769fa 100644 --- a/charts/ecosystem/templates/webui.yaml +++ b/charts/ecosystem/templates/webui.yaml @@ -52,6 +52,8 @@ spec: value: {{ include "ecosystem.host.url" . }} - name: GALASA_WEBUI_CLIENT_ID value: galasa-webui + - name: NEXT_PUBLIC_GALASA_SERVICE_NAME # The variable should have a NEXT_PUBLIC prefix to be used on the client side by Next JS + value: {{ .Values.galasaServiceName}} {{- if .Values.ingress.caCertSecretName }} - name: NODE_EXTRA_CA_CERTS value: /etc/ssl/certs/cacerts/cacerts.pem diff --git a/charts/ecosystem/values.yaml b/charts/ecosystem/values.yaml index 5043045..899650c 100644 --- a/charts/ecosystem/values.yaml +++ b/charts/ecosystem/values.yaml @@ -16,6 +16,12 @@ externalHostname: "example.com" galasaVersion: "0.36.0" # # +# +# Name of the service being used +galasaServiceName: Galasa Service +# +# +# # The container registry the Galasa images can be found in # galasaRegistry: "icr.io/galasadev" From 6dca1c72b7fd63bee9498b6744a5698dd889583e Mon Sep 17 00:00:00 2001 From: Aashir Siddiqui Date: Mon, 29 Jul 2024 16:12:16 +0100 Subject: [PATCH 2/3] Implemented the changes requested Signed-off-by: Aashir Siddiqui --- charts/ecosystem/values.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/ecosystem/values.yaml b/charts/ecosystem/values.yaml index 899650c..d4bb01a 100644 --- a/charts/ecosystem/values.yaml +++ b/charts/ecosystem/values.yaml @@ -17,7 +17,14 @@ galasaVersion: "0.36.0" # # # -# Name of the service being used +# Name of the galasa service which will be shown as the title of the web user interface page. +# Any bookmarks taken by users in their browsers will also receive this name. +# Making this name distict helps users identify which Galasa service they are using. +# If they are all called the same thing, users with access to multiple systems may find that +# confusing. +# It is RECOMMENDED that this value is changed to be unique, +# For example: Galasa Service XYZ +# galasaServiceName: Galasa Service # # From 418535183ccfa06a7bb5b4a2f0d09d7df9a44314 Mon Sep 17 00:00:00 2001 From: Aashir Siddiqui Date: Mon, 29 Jul 2024 17:42:15 +0100 Subject: [PATCH 3/3] Dummy push to force build Signed-off-by: Aashir Siddiqui