Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TT-13082 - Add Tyk Streams support #353

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions components/tyk-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
6 changes: 6 additions & 0 deletions components/tyk-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions tyk-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions tyk-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down