fix: make hwlab cli a short web client
This commit is contained in:
@@ -38,7 +38,6 @@ const defaultServiceIds = Object.freeze([
|
||||
"hwlab-device-pod",
|
||||
"hwlab-gateway",
|
||||
"hwlab-edge-proxy",
|
||||
"hwlab-cli",
|
||||
"hwlab-agent-skills"
|
||||
]);
|
||||
const v02RuntimeServiceIds = Object.freeze([
|
||||
@@ -49,7 +48,6 @@ const v02RuntimeServiceIds = Object.freeze([
|
||||
"hwlab-device-pod",
|
||||
"hwlab-gateway",
|
||||
"hwlab-edge-proxy",
|
||||
"hwlab-cli",
|
||||
"hwlab-agent-skills"
|
||||
]);
|
||||
const v02RemovedServiceIds = new Set([
|
||||
@@ -865,9 +863,6 @@ function transformWorkloads({ workloads, deploy, catalog, source, registryPrefix
|
||||
upsertEnv(container.env, "HWLAB_API_BASE_URL", `http://hwlab-cloud-api.${namespace}.svc.cluster.local:6667`);
|
||||
upsertEnv(container.env, "HWLAB_PUBLIC_ENDPOINT", webEndpoint);
|
||||
}
|
||||
if (serviceId === "hwlab-cli") {
|
||||
upsertEnv(container.env, "HWLAB_CLI_ENDPOINT", runtimeEndpoint);
|
||||
}
|
||||
}
|
||||
rewritePodSecretRefs(podTemplate.spec, profile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user