From 295b7f4420eeedc744edcff71fe99a5653896d22 Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Mon, 7 Oct 2024 21:07:58 +0300 Subject: [PATCH 1/2] :hammer: Add `serviceMapNewUiEnabled` helm value --- config/configStruct.go | 1 + helm-chart/README.md | 1 + helm-chart/values.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/config/configStruct.go b/config/configStruct.go index 0340abc7e..3993c6f9a 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -111,6 +111,7 @@ type ConfigStruct struct { License string `yaml:"license" json:"license" default:""` CloudLicenseEnabled bool `yaml:"cloudLicenseEnabled" json:"cloudLicenseEnabled" default:"true"` SupportChatEnabled bool `yaml:"supportChatEnabled" json:"supportChatEnabled" default:"true"` + ServiceMapNewUiEnabled bool `yaml:"serviceMapNewUiEnabled" json:"serviceMapNewUiEnabled" default:"false"` InternetConnectivity bool `yaml:"internetConnectivity" json:"internetConnectivity" default:"true"` DissectorsUpdatingEnabled bool `yaml:"dissectorsUpdatingEnabled" json:"dissectorsUpdatingEnabled" default:"true"` Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"` diff --git a/helm-chart/README.md b/helm-chart/README.md index 71f635efb..89df18b06 100644 --- a/helm-chart/README.md +++ b/helm-chart/README.md @@ -193,6 +193,7 @@ Please refer to [metrics](./metrics.md) documentation for details. | `scripting.watchScripts` | Enable watch mode for the scripts in source directory | `true` | | `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) | | `supportChatEnabled` | Enable real-time support chat channel based on Intercom | `true` | +| `serviceMapNewUiEnabled` | Enable new experimental version of Service Map UI | `false` | | `internetConnectivity` | Turns off API requests that are dependant on Internet connectivity such as `telemetry` and `online-support`. | `true` | | `dissectorsUpdatingEnabled` | Turns off UI for enabling/disabling dissectors | `true` | diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 845fc0fff..b3288862b 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -170,6 +170,7 @@ headless: false license: "" cloudLicenseEnabled: true supportChatEnabled: true +serviceMapNewUiEnabled: false internetConnectivity: true dissectorsUpdatingEnabled: true scripting: From ef6b93a9ac06a26666efb5698064172e129de561 Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Mon, 7 Oct 2024 21:08:49 +0300 Subject: [PATCH 2/2] :hammer: Add service-map-new-ui-enabled `front` env --- helm-chart/templates/06-front-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 6536a9024..dc792e992 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -62,6 +62,8 @@ spec: value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}' - name: REACT_APP_DISSECTORS_UPDATING_ENABLED value: '{{ .Values.dissectorsUpdatingEnabled | ternary "true" "false" }}' + - name: REACT_APP_SERVICE_MAP_NEW_UI_ENABLED + value: '{{ .Values.serviceMapNewUiEnabled | ternary "true" "false" }}' - name: REACT_APP_SENTRY_ENABLED value: '{{ (include "sentry.enabled" .) }}' - name: REACT_APP_SENTRY_ENVIRONMENT