Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit 82f54e2

Browse files
authored
fix: correctly pass instanceId to daemon so scoping with controllerId works (#719)
Signed-off-by: Markus Maga <[email protected]>
1 parent 6f15d49 commit 82f54e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/daemon.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ const {
2626
namingPermittedAnnotation,
2727
enforceNamespaceAnnotation,
2828
watchTimeout,
29-
watchedNamespaces
29+
watchedNamespaces,
30+
instanceId
3031
} = require('../config')
3132

3233
async function main () {
@@ -63,7 +64,8 @@ async function main () {
6364
const daemon = new Daemon({
6465
externalSecretEvents,
6566
logger,
66-
pollerFactory
67+
pollerFactory,
68+
instanceId
6769
})
6870

6971
const metricsServer = new MetricsServer({

0 commit comments

Comments
 (0)