Skip to content

Commit

Permalink
chore(cache): store core entities in core cache
Browse files Browse the repository at this point in the history
### Summary

Some core entities were not listed to be cached in core cache.

Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle committed Dec 19, 2023
1 parent c380038 commit d904779
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kong/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ local constants = {
"filter_chains",
},
ENTITY_CACHE_STORE = setmetatable({
workspaces = "core_cache",
consumers = "cache",
certificates = "core_cache",
services = "core_cache",
Expand All @@ -155,9 +156,12 @@ local constants = {
plugins = "core_cache",
tags = "cache",
ca_certificates = "core_cache",
clustering_data_planes = "core_cache",
parameters = "core_cache",
vaults = "core_cache",
key_sets = "core_cache",
keys = "core_cache",
filter_chains = "core_cache",
}, {
__index = function()
return "cache"
Expand Down

0 comments on commit d904779

Please sign in to comment.