Skip to content

Commit

Permalink
chore: watch-processor support watching generic kind
Browse files Browse the repository at this point in the history
Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 committed Feb 24, 2025
1 parent 27101be commit 524f82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/processors/watch-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async function runBinding(
};

// Setup the resource watch
const watcher = K8s(binding.model, binding.filters).Watch(async (obj, phase) => {
const watcher = K8s(binding.model, { ...binding.filters, kindOverride: binding.kind }).Watch(async (obj, phase) => {
Log.debug(obj, `Watch event ${phase} received`);

if (binding.isQueue) {
Expand Down

0 comments on commit 524f82d

Please sign in to comment.