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