Skip to content

Commit

Permalink
updated the helm chart to account for log system events (#333)
Browse files Browse the repository at this point in the history
Co-authored-by: Long Le <[email protected]>
Co-authored-by: Komal Sukhani <[email protected]>
  • Loading branch information
3 people authored Nov 4, 2024
1 parent 37d55ac commit 214b8d0
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 1 deletion.
6 changes: 6 additions & 0 deletions components/tyk-gateway/templates/deployment-gw-repset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ spec:
- name: TYK_GW_HTTPSERVEROPTIONS_ENABLESTRICTROUTES
value: "{{ .Values.gateway.enableStrictRoutes }}"

# Log system events configuration
- name: TYK_GW_LOGFORMAT
value: "{{ .Values.gateway.log.format }}"
- name: TYK_GW_LOGLEVEL
value: "{{ .Values.gateway.log.level }}"

{{- if .Values.global.redis.sslInsecureSkipVerify }}
- name: TYK_GW_STORAGE_SSLINSECURESKIPVERIFY
value: "{{ .Values.global.redis.sslInsecureSkipVerify }}"
Expand Down
8 changes: 7 additions & 1 deletion components/tyk-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,13 @@ gateway:
# all the subsequent work that operation causes
parentBased: false

# log is used to configure the log system events
log:
# level is used to set the log verbosity. It is used to set TYK_GW_LOGLEVEL
level: "info"
# format is used to set the log format. It is used to set TYK_GW_LOGFORMAT
format: "default"

# EnablePathPrefixMatching changes the URL matching from wildcard mode to prefix mode.
# If prefix matching is enabled, the match will be performed
# - as a prefix match (/json*).
Expand All @@ -519,7 +526,6 @@ gateway:
# Regular expressions and parameterized routes will be left alone regardless of this setting.
enableStrictRoutes: true


# serviceAccountName field indicates the name of the Service Account that is going to be used by the Pods.
# If a service account is to be used for Tyk Gateway, it should be manually created
serviceAccountName: ""
7 changes: 7 additions & 0 deletions tyk-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,13 @@ tyk-gateway:
# podLabels specifies labels to be added in gateway Pod
podLabels: {}

# log is used to configure the log system events
log:
# level is used to set the log verbosity. It is used to set TYK_GW_LOGLEVEL
level: "info"
# format is used to set the log format. It is used to set TYK_GW_LOGFORMAT
format: "default"

tyk-operator:
nameOverride: ""
fullnameOverride: ""
Expand Down
7 changes: 7 additions & 0 deletions tyk-data-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,13 @@ tyk-gateway:
# readOnly: true
extraVolumeMounts: []

# log is used to configure the log system events
log:
# level is used to set the log verbosity. It is used to set TYK_GW_LOGLEVEL
level: "info"
# format is used to set the log format. It is used to set TYK_GW_LOGFORMAT
format: "default"

tyk-pump:
## Default values for tyk-pump chart.
## This is a YAML-formatted file.
Expand Down
7 changes: 7 additions & 0 deletions tyk-oss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,13 @@ tyk-gateway:
# readOnly: true
extraVolumeMounts: []

# log is used to configure the log system events
log:
# level is used to set the log verbosity. It is used to set TYK_GW_LOGLEVEL
level: "info"
# format is used to set the log format. It is used to set TYK_GW_LOGFORMAT
format: "default"

tyk-operator:
nameOverride: ""
fullnameOverride: ""
Expand Down
7 changes: 7 additions & 0 deletions tyk-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,13 @@ tyk-gateway:
# readOnly: true
extraVolumeMounts: []

# log is used to configure the log system events
log:
# level is used to set the log verbosity. It is used to set TYK_GW_LOGLEVEL
level: "info"
# format is used to set the log format. It is used to set TYK_GW_LOGFORMAT
format: "default"

tyk-operator:
nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 214b8d0

Please sign in to comment.