🔨 Move timezone from .Values.tap to .Values

This commit is contained in:
tiptophelmet 2024-03-14 17:58:19 +02:00
parent 585e0eb254
commit 15d0e7875f
3 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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