Skip to content

Commit

Permalink
Merge pull request #3 from telekom/fix/optional-rate-limit
Browse files Browse the repository at this point in the history
Moved rate-limiting-merged plugin registration from hard-coded to values.yaml
  • Loading branch information
julius-malcovsky authored Feb 20, 2025
2 parents e764c0d + fb559e0 commit 472f25a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/_kong.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ false
{{ $enabledPlugins = printf "%s,%s" $enabledPlugins "cequence-ai-unified" }}
{{- end }}
- name: KONG_PLUGINS
value: bundled,jwt-keycloak,rate-limiting-merged{{ $enabledPlugins }}
value: bundled,jwt-keycloak{{ $enabledPlugins }}
- name: KONG_LUA_PACKAGE_PATH
value: "/opt/?.lua;;"
{{- end -}}
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ setupJobs:
#containerSecurityContext: {}

plugins:
enabled: []
enabled:
- rate-limiting-merged

acl:
pluginId: bc823d55-83b5-4184-b03f-ce63cd3b75c7
Expand Down

0 comments on commit 472f25a

Please sign in to comment.