From 15d0e7875f89f18a0953fa7a2b28955613485744 Mon Sep 17 00:00:00 2001 From: tiptophelmet Date: Thu, 14 Mar 2024 17:58:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Move=20`timezone`=20from=20`.Val?= =?UTF-8?q?ues.tap`=20to=20`.Values`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/configStruct.go | 1 + config/configStructs/tapConfig.go | 1 - helm-chart/templates/06-front-deployment.yaml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/configStruct.go b/config/configStruct.go index b3d474325..068bf0bd0 100644 --- a/config/configStruct.go +++ b/config/configStruct.go @@ -96,6 +96,7 @@ type ConfigStruct struct { License string `yaml:"license" json:"license" default:""` Scripting configStructs.ScriptingConfig `yaml:"scripting" json:"scripting"` Manifests ManifestsConfig `yaml:"manifests,omitempty" json:"manifests,omitempty"` + Timezone string `yaml:"timezone" json:"timezone"` } func (config *ConfigStruct) ImagePullPolicy() v1.PullPolicy { diff --git a/config/configStructs/tapConfig.go b/config/configStructs/tapConfig.go index e60b2fbbf..565d25c54 100644 --- a/config/configStructs/tapConfig.go +++ b/config/configStructs/tapConfig.go @@ -182,7 +182,6 @@ type TapConfig struct { TrafficSampleRate int `yaml:"trafficSampleRate" json:"trafficSampleRate" default:"100"` TcpStreamChannelTimeoutMs int `yaml:"tcpStreamChannelTimeoutMs" json:"tcpStreamChannelTimeoutMs" default:"10000"` Misc MiscConfig `yaml:"misc" json:"misc"` - Timezone string `yaml:"timezone" json:"timezone"` } func (config *TapConfig) PodRegex() *regexp.Regexp { diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index 2e63cdf66..c088ea3d5 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -33,7 +33,7 @@ spec: - name: REACT_APP_AUTH_SAML_IDP_METADATA_URL value: '{{ not (eq .Values.tap.auth.saml.idpMetadataUrl "") | ternary .Values.tap.auth.saml.idpMetadataUrl " " }}' - name: REACT_APP_TIMEZONE - value: '{{ not (eq .Values.tap.timezone "") | ternary .Values.tap.timezone " " }}' + value: '{{ not (eq .Values.timezone "") | ternary .Values.timezone " " }}' - name: REACT_APP_REPLAY_DISABLED value: '{{ .Values.tap.replayDisabled }}' - name: REACT_APP_SCRIPTING_DISABLED