Skip to content

Commit

Permalink
feat: Add parameter for key hashing algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-bochenski committed Sep 12, 2023
1 parent 1a62bcc commit 7018cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/tyk-gateway/templates/deployment-gw-repset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ spec:
- name: TYK_GW_HASHKEYS
value: "true"
- name: TYK_GW_HASHKEYFUNCTION
value: "murmur128"
value: "{{ .Values.gateway.hashKeyFunction }}"
- name: TYK_GW_HTTPSERVEROPTIONS_ENABLEWEBSOCKETS
value: "true"
- name: TYK_GW_HTTPSERVEROPTIONS_MINVERSION
Expand Down
2 changes: 2 additions & 0 deletions components/tyk-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ gateway:
# - chart-example.local
tls: []

hashKeyFunction: murmur128

# Sharding gateway allows you to selectively load APIs to specific gateways.
# If enabled make sure you have at least one gateway that is not sharded.
# Also be sure to match API segmentation tags with the tags selected below.
Expand Down

0 comments on commit 7018cc1

Please sign in to comment.