Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pdk/vault): handle crud events for dbless #13663

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kong/pdk/vault.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ local function new(self)
---
-- Initializes vault.
--
-- Registers event handlers (on non-dbless nodes) and starts a recurring secrets
-- Registers event handlers and starts a recurring secrets
-- rotation timer. It does nothing on control planes.
--
-- @local
Expand All @@ -1455,7 +1455,7 @@ local function new(self)

initialized = true

if self.configuration.database ~= "off" then
if self.configuration.database ~= "off" or self.configuration.cluster_rpc then
self.worker_events.register(handle_vault_crud_event, "crud", "vaults")
end

Expand Down
Loading