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

Commit

Permalink
fix: correctly pass instanceId to daemon so scoping with controllerId…
Browse files Browse the repository at this point in the history
… works (#719)

Signed-off-by: Markus Maga <markus@maga.se>
  • Loading branch information
Flydiverny committed Apr 25, 2021
1 parent 6f15d49 commit 82f54e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/daemon.js
Expand Up @@ -26,7 +26,8 @@ const {
namingPermittedAnnotation,
enforceNamespaceAnnotation,
watchTimeout,
watchedNamespaces
watchedNamespaces,
instanceId
} = require('../config')

async function main () {
Expand Down Expand Up @@ -63,7 +64,8 @@ async function main () {
const daemon = new Daemon({
externalSecretEvents,
logger,
pollerFactory
pollerFactory,
instanceId
})

const metricsServer = new MetricsServer({
Expand Down

0 comments on commit 82f54e2

Please sign in to comment.