Skip to content

Commit

Permalink
Merge branch 'main' into feat/TT-9631/configurable-bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
singhpr authored Oct 16, 2023
2 parents 3f8355d + 9911cf1 commit 13ab607
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 23 deletions.
4 changes: 2 additions & 2 deletions components/tyk-dashboard/templates/deployment-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ spec:
livenessProbe:
httpGet:
scheme: "HTTP{{ if .Values.global.tls.dashboard }}S{{ end }}"
path: /
path: /hello
port: {{ .Values.global.servicePorts.dashboard }}
initialDelaySeconds: 10
periodSeconds: 2
Expand All @@ -228,7 +228,7 @@ spec:
readinessProbe:
httpGet:
scheme: "HTTP{{ if .Values.global.tls.dashboard }}S{{ end }}"
path: /
path: /hello
port: {{ .Values.global.servicePorts.dashboard }}
initialDelaySeconds: 10
periodSeconds: 10
Expand Down
2 changes: 1 addition & 1 deletion components/tyk-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ dashboard:
repository: tykio/tyk-dashboard

# tag for Tyk Dashboard
tag: v5.1.0
tag: v5.2.0

# image pull policy
pullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion components/tyk-enterprise-portal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ containerPort: 3001
image:
repository: tykio/portal
# Enterprise portal < v1.2 is not supported
tag: v1.6.0
tag: v1.7.0
pullPolicy: Always

# image pull secrets to use when pulling images from repository
Expand Down
11 changes: 10 additions & 1 deletion components/tyk-gateway/templates/deployment-gw-repset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,17 @@ spec:
{{- else}}
value: "file"
{{- end}}

# Set this environment variable only if either analyticsEnabled or global.components.pump is set
{{ if or .Values.gateway.analyticsEnabled ((.Values.global.components).pump) }}
- name: TYK_GW_ENABLEANALYTICS
value: "{{.Values.gateway.analyticsEnabled}}"
{{- if .Values.gateway.analyticsEnabled }}
value: "{{ .Values.gateway.analyticsEnabled }}"
{{- else }}
value: "{{ .Values.global.components.pump }}"
{{- end}}
{{- end}}

- name: TYK_GW_ANALYTICSCONFIG_TYPE
value: "{{.Values.gateway.analyticsConfigType}}"
{{- if .Values.global.remoteControlPlane.enabled }}
Expand Down
7 changes: 4 additions & 3 deletions components/tyk-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ gateway:
repository: docker.tyk.io/tyk-gateway/tyk-gateway

# image tag for Tyk Gateway
tag: v5.1.0
tag: v5.2.0

# image pull policy for Tyk Gateway
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -275,8 +275,9 @@ gateway:
## readOnly: true
extraVolumeMounts: []

# analyticsEnabled property is used to enable or disable analytics.
analyticsEnabled: "false"
# analyticsEnabled property is used to enable/disable analytics.
# If set to empty or nil, analytics will be enabled/disabled based on `global.components.pump`.
analyticsEnabled: ""

# used to decide whether to send the results back directly to Tyk without a hybrid pump
# if you want to send analytics to control plane instead of pump, change analyticsConfigType to "rpc"
Expand Down
2 changes: 1 addition & 1 deletion components/tyk-pump/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pump:
repository: docker.tyk.io/tyk-pump/tyk-pump

# tag for Tyk pump
tag: v1.8.1
tag: v1.8.3

# image pull policy
pullPolicy: IfNotPresent
Expand Down
9 changes: 5 additions & 4 deletions tyk-mdcb-data-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ tyk-gateway:
repository: tykio/tyk-gateway

# image tag for Tyk Gateway
tag: v5.1.0
tag: v5.2.0

# image pull policy for Tyk Gateway
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -269,8 +269,9 @@ tyk-gateway:
enabled: false
tags: ""

# analyticsEnabled property is used to enable or disable analytics.
analyticsEnabled: "true"
# analyticsEnabled property is used to enable/disable analytics.
# If set to empty or nil, analytics will be enabled/disabled based on `global.components.pump`.
analyticsEnabled: ""

# used to decide whether to send the results back directly to Tyk without a hybrid pump
# if you want to send analytics to control plane instead of pump, change value to "rpc"
Expand Down Expand Up @@ -329,7 +330,7 @@ tyk-pump:
repository: docker.tyk.io/tyk-pump/tyk-pump

# tag for Tyk pump
tag: v1.8.1
tag: v1.8.3

# image pull policy
pullPolicy: IfNotPresent
Expand Down
9 changes: 5 additions & 4 deletions tyk-oss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ tyk-gateway:
repository: docker.tyk.io/tyk-gateway/tyk-gateway

# image tag for Tyk Gateway
tag: v5.1.0
tag: v5.2.0

# image pull policy for Tyk Gateway
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -230,8 +230,9 @@ tyk-gateway:
# affinity for gateway pod assignment
affinity: {}

# analyticsEnabled property is used to enable or disable analytics.
analyticsEnabled: "false"
# analyticsEnabled property is used to enable/disable analytics.
# If set to empty or nil, analytics will be enabled/disabled based on `global.components.pump`.
analyticsEnabled: ""

# extraEnvs is used to set gateway env variables
# - name: TYK_GW_HTTPSERVEROPTIONS_SSLINSECURESKIPVERIFY
Expand Down Expand Up @@ -291,7 +292,7 @@ tyk-pump:
repository: docker.tyk.io/tyk-pump/tyk-pump

# tag for Tyk pump
tag: v1.8.1
tag: v1.8.3

# image pull policy
pullPolicy: IfNotPresent
Expand Down
13 changes: 7 additions & 6 deletions tyk-single-dc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,16 @@ tyk-gateway:
# replicaCount specifies number of replicas to be created if kind is Deployment.
replicaCount: 1

# analyticsEnabled property is used to enable or disable analytics.
analyticsEnabled: "true"
# analyticsEnabled property is used to enable/disable analytics.
# If set to empty or nil, analytics will be enabled/disabled based on `global.components.pump`.
analyticsEnabled: ""

image:
# image repository for Tyk Gateway
repository: tykio/tyk-gateway

# image tag for Tyk Gateway
tag: v5.1.0
tag: v5.2.0

# image pull policy for Tyk Gateway
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -395,7 +396,7 @@ tyk-pump:
repository: docker.tyk.io/tyk-pump/tyk-pump

# tag for Tyk pump
tag: v1.8.1
tag: v1.8.3

# image pull policy
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -650,7 +651,7 @@ tyk-dashboard:
repository: tykio/tyk-dashboard

# tag for Tyk Dashboard
tag: v5.1.0
tag: v5.2.0

# image pull policy
pullPolicy: Always
Expand Down Expand Up @@ -772,7 +773,7 @@ tyk-enterprise-portal:
image:
repository: tykio/portal
# Enterprise portal < v1.2 is not supported
tag: v1.6.0
tag: v1.7.0
pullPolicy: Always

# image pull secrets to use when pulling images from repository
Expand Down

0 comments on commit 13ab607

Please sign in to comment.