mirror of
https://github.com/punga78/k8s-yaml-generator
synced 2026-11-30 02:23:05 +00:00
test
This commit is contained in:
1 parent
11306fa13a
commit
d37d329e4d
1 file changed
+2
-2
Vendored
+2
-2
@@ -31132,7 +31132,7 @@ let envConfig = {};
|
|||||||
const envExist = fs.existsSync(envPath);
|
const envExist = fs.existsSync(envPath);
|
||||||
if (envExist) {
|
if (envExist) {
|
||||||
dotenv.config({ path: envPath });
|
dotenv.config({ path: envPath });
|
||||||
log("Loaded environment variables from the .env file");
|
log(`Loaded environment variables from the ${envPath} file`);
|
||||||
// Set default values for PORT and HOST if not defined
|
// Set default values for PORT and HOST if not defined
|
||||||
envConfig = dotenv.parse(fs.readFileSync(envPath));
|
envConfig = dotenv.parse(fs.readFileSync(envPath));
|
||||||
log(`envConfig: ${JSON.stringify(envConfig)}`);
|
log(`envConfig: ${JSON.stringify(envConfig)}`);
|
||||||
@@ -31220,7 +31220,7 @@ const baseMetadata = {
|
|||||||
"app.kubernetes.io/version": version,
|
"app.kubernetes.io/version": version,
|
||||||
"app.kubernetes.io/instance": config.instance
|
"app.kubernetes.io/instance": config.instance
|
||||||
},
|
},
|
||||||
namespace: config.namespace || "default"
|
namespace: config.namespace
|
||||||
};
|
};
|
||||||
log(`baseMetadata: ${JSON.stringify(baseMetadata)}`);
|
log(`baseMetadata: ${JSON.stringify(baseMetadata)}`);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user