[FEATURE] Alt Kubeenv
This commit is contained in:
parent
cdea22c08a
commit
3c6f31f6d7
7 changed files with 19 additions and 13 deletions
|
@ -2,8 +2,7 @@ import k8s from "@kubernetes/client-node";
|
|||
import { ERR } from "../util/logging.js";
|
||||
import { getServerAssets } from "./k8s-server-control.js";
|
||||
import ExpressClientError from "../util/ExpressClientError.js";
|
||||
const kc = new k8s.KubeConfig();
|
||||
kc.loadFromDefault();
|
||||
import kc from "./k8s-config.js";
|
||||
|
||||
const k8sDeps = kc.makeApiClient(k8s.AppsV1Api);
|
||||
const k8sCore = kc.makeApiClient(k8s.CoreV1Api);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue