From ce79e1d309b3f6d82e0ded3b576b7815fdcd22f4 Mon Sep 17 00:00:00 2001 From: kanishkkatara Date: Tue, 27 Aug 2024 11:44:50 +0530 Subject: [PATCH] fix: env names --- src/util/openfaas/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/openfaas/index.js b/src/util/openfaas/index.js index 0071315f80..57447c9d88 100644 --- a/src/util/openfaas/index.js +++ b/src/util/openfaas/index.js @@ -38,8 +38,8 @@ const FAAS_READINESS_HTTP_FAILURE_THRESHOLD = const FAAS_READINESS_HTTP_SUCCESS_THRESHOLD = process.env.FAAS_READINESS_HTTP_SUCCESS_THRESHOLD || '1'; -const PARENT_NAMESPACE = process.env.PARENT_NAMESPACE || 'default'; -const PARENT_CLUSTER = process.env.PARENT_CLUSTER || 'default'; +const PARENT_NAMESPACE = process.env.NAMESPACE || 'default'; +const PARENT_CLUSTER = process.env.FAAS_FN_PARENT_CLUSTER || 'default'; const CONFIG_BACKEND_URL = process.env.CONFIG_BACKEND_URL || 'https://api.rudderlabs.com'; const GEOLOCATION_URL = process.env.GEOLOCATION_URL || '';