[FEATURE] Alt Kubeenv
This commit is contained in:
parent
cdea22c08a
commit
3c6f31f6d7
7 changed files with 19 additions and 13 deletions
|
@ -4,10 +4,9 @@ import { Rcon as RconClient } from "rcon-client";
|
|||
import stream from "stream";
|
||||
import { ERR, WARN } from "../../util/logging.js";
|
||||
import { getServerEntry } from "../../database/queries/server-queries.js";
|
||||
|
||||
import kc from "../../k8s/k8s-config.js";
|
||||
// Kubernetes Configuration
|
||||
const kc = new k8s.KubeConfig();
|
||||
kc.loadFromDefault();
|
||||
|
||||
const k8sCore = kc.makeApiClient(k8s.CoreV1Api);
|
||||
const namespace = process.env.MCL_SERVER_NAMESPACE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue