diff --git a/components/tyk-dashboard/templates/deployment-dashboard.yaml b/components/tyk-dashboard/templates/deployment-dashboard.yaml index b6e619b9..a08e77b8 100644 --- a/components/tyk-dashboard/templates/deployment-dashboard.yaml +++ b/components/tyk-dashboard/templates/deployment-dashboard.yaml @@ -129,6 +129,10 @@ spec: - name: "TYK_DB_ENABLEMULTIORGUSERS" value: "{{ .Values.dashboard.enableMultiOrgUsers }}" ## DEFAULT TYK CONFIGURATION END + {{- if .Values.global.streaming }} + - name: TYK_DB_STREAMING_ENABLED + value: {{ .Values.global.streaming.enabled | quote }} + {{- end }} - name: TYK_DB_LISTENPORT value: "{{ .Values.dashboard.containerPort }}" - name: TYK_DB_OAS_VALIDATE_EXAMPLES diff --git a/components/tyk-dashboard/values.yaml b/components/tyk-dashboard/values.yaml index 09b6f218..10954ec8 100644 --- a/components/tyk-dashboard/values.yaml +++ b/components/tyk-dashboard/values.yaml @@ -184,6 +184,12 @@ global: # It is used to set TYK_DB_HASHKEYS hashKeys: true + # streaming configures Tyk Streams + streaming: + # enabled configures whether Tyk Streams is enabled or not. + # It is used to set TYK_DB_STREAMING_ENABLED + enabled: false + dashboard: # This is the URL of your Tyk Gateway node, which is used to set TYK_DB_TYKAPI_HOST. # The Dashboard controls Tyk using the Gateway API and only requires visibility to one node. In a sharded environment, diff --git a/components/tyk-gateway/templates/deployment-gw-repset.yaml b/components/tyk-gateway/templates/deployment-gw-repset.yaml index ad2a1677..aa6d952a 100644 --- a/components/tyk-gateway/templates/deployment-gw-repset.yaml +++ b/components/tyk-gateway/templates/deployment-gw-repset.yaml @@ -129,7 +129,10 @@ spec: value: "{{ .Values.gateway.enablePathSuffixMatching }}" - name: TYK_GW_HTTPSERVEROPTIONS_ENABLESTRICTROUTES value: "{{ .Values.gateway.enableStrictRoutes }}" - + {{- if .Values.global.streaming }} + - name: TYK_GW_STREAMING_ENABLED + value: {{ .Values.global.streaming.enabled | quote }} + {{- end }} # Log system events configuration - name: TYK_GW_LOGFORMAT value: "{{ .Values.gateway.log.format }}" diff --git a/components/tyk-gateway/values.yaml b/components/tyk-gateway/values.yaml index 57f42887..dd5c8fa8 100644 --- a/components/tyk-gateway/values.yaml +++ b/components/tyk-gateway/values.yaml @@ -157,6 +157,12 @@ global: # It is used to set TYK_GW_HASHKEYS hashKeys: true + # streaming configures Tyk Streams + streaming: + # enabled configures whether Tyk Streams is enabled or not. + # It is used to set TYK_GW_STREAMING_ENABLED. + enabled: false + gateway: # The hostname to bind the Gateway to. hostName: tyk-gw.local diff --git a/tyk-control-plane/values.yaml b/tyk-control-plane/values.yaml index 13de56cf..60aba764 100644 --- a/tyk-control-plane/values.yaml +++ b/tyk-control-plane/values.yaml @@ -244,6 +244,12 @@ global: # It is used to set TYK_GW_OAS_VALIDATE_SCHEMA_DEFAULTS and TYK_DB_OAS_VALIDATE_SCHEMA_DEFAULTS oasValidateSchemaDefaults: false + # streaming configures Tyk Streams + streaming: + # enabled configures whether Tyk Streams is enabled or not. + # It is used to set TYK_GW_STREAMING_ENABLED and TYK_DB_STREAMING_ENABLED. + enabled: false + tyk-gateway: # nameOverride overrides the Chart name. It is truncated to 63 characters. # Default value: tyk-gateway.name diff --git a/tyk-stack/values.yaml b/tyk-stack/values.yaml index 8379849f..60ff7a95 100644 --- a/tyk-stack/values.yaml +++ b/tyk-stack/values.yaml @@ -234,6 +234,12 @@ global: # It is used to set TYK_DB_OAS_VALIDATE_SCHEMA_DEFAULTS and TYK_GW_OAS_VALIDATE_SCHEMA_DEFAULTS oasValidateSchemaDefaults: false + # streaming configures Tyk Streams + streaming: + # enabled configures whether Tyk Streams is enabled or not. + # It is used to set TYK_GW_STREAMING_ENABLED and TYK_DB_STREAMING_ENABLED. + enabled: false + tyk-gateway: ## Default values for tyk-gateway chart. ## This is a YAML-formatted file.