Promote v0.9.4 to production
This commit is contained in:
@@ -938,7 +938,6 @@ cmd_install() {
|
||||
echo "GPUK_MODEL_TRANSFER_PORT=$TRANSFER_PORT"
|
||||
echo "GPUK_HANDOVER_DATA_PORT=$HANDOVER_PORT"
|
||||
echo "GPUK_MACHINE_ID_FILE=$MACHINE_ID_FILE"
|
||||
echo "NODE_DISPLAY_NAME=$(hostname)"
|
||||
[ -n "$CONTROLLER_URL" ] && echo "GPUK_CONTROLLER_URLS=$CONTROLLER_URL"
|
||||
} > "$WORKER_ENV"
|
||||
chmod 0600 "$WORKER_ENV"
|
||||
@@ -970,7 +969,6 @@ cmd_install() {
|
||||
echo "GPUK_MACHINE_ID_FILE=$MACHINE_ID_FILE"
|
||||
echo "GPUK_CONTROLLER_URLS=wss://127.0.0.1:$MTLS_PORT"
|
||||
echo "GPUK_SELF_ENROLL_FILE=$SELF_ENROLL_FILE"
|
||||
echo "NODE_DISPLAY_NAME=$(hostname)"
|
||||
if [ "$NETWORK" != "host" ]; then
|
||||
[ -z "$_data_host" ] || echo "GPUK_DATA_HOST=$_data_host"
|
||||
echo "BACKEND_DOCKER_NETWORK=$NETWORK"
|
||||
@@ -1063,7 +1061,7 @@ JSON
|
||||
# fresh render no longer carries it (a profile change drops GPUK_HSTS); any other
|
||||
# key was pushed by the controller and is kept. Keep this list in step with
|
||||
# render_controller_manifest.
|
||||
INSTALL_ENV_KEYS="NODE_ENV,TZ,GPUK_CLUSTER,GPUK_SELF_ENROLL_FILE,NODE_DISPLAY_NAME,HF_HOME,GPUK_DATA_ROOT,GPUK_INSTALL_PROFILE,GPUK_HSTS,GPUK_SESSION_COOKIE_SECURE,GPUK_BOOTSTRAP_MUST_CHANGE,BACKEND_DOCKER_NETWORK,GPUK_PORT,GPUK_PUBLIC_PORT,GPUK_MTLS_PORT,GPUK_PUBLIC_MTLS_PORT,GPUK_PROXY_PUBLIC_PORT,GPUK_UI_BIND,GPUK_PROXY_PUBLIC_URL,GPUK_DOMAIN,GPUK_ALLOWED_HOSTS,GPUK_TRUST_PROXY,GPUK_TRUSTED_PROXY_CIDRS,GPUK_ACCEPT_SOURCE_CIDRS,GPUK_HOST_PUBLIC_IPV4"
|
||||
INSTALL_ENV_KEYS="NODE_ENV,TZ,GPUK_CLUSTER,GPUK_SELF_ENROLL_FILE,HF_HOME,GPUK_DATA_ROOT,GPUK_INSTALL_PROFILE,GPUK_HSTS,GPUK_SESSION_COOKIE_SECURE,GPUK_BOOTSTRAP_MUST_CHANGE,BACKEND_DOCKER_NETWORK,GPUK_PORT,GPUK_PUBLIC_PORT,GPUK_MTLS_PORT,GPUK_PUBLIC_MTLS_PORT,GPUK_PROXY_PUBLIC_PORT,GPUK_UI_BIND,GPUK_PROXY_PUBLIC_URL,GPUK_DOMAIN,GPUK_ALLOWED_HOSTS,GPUK_TRUST_PROXY,GPUK_TRUSTED_PROXY_CIDRS,GPUK_ACCEPT_SOURCE_CIDRS,GPUK_HOST_PUBLIC_IPV4"
|
||||
|
||||
# Write the manifest — or, when one exists, MERGE into it (INS-03). Re-running the
|
||||
# installer is the update path, and the manifest is not ours alone: since the first
|
||||
@@ -1215,7 +1213,6 @@ render_controller_manifest() {
|
||||
"NODE_ENV": "production",
|
||||
"GPUK_CLUSTER": "$(json_str "$CLUSTER")",
|
||||
"GPUK_SELF_ENROLL_FILE": "$(json_str "$SELF_ENROLL_FILE")",
|
||||
"NODE_DISPLAY_NAME": "$(json_str "$(hostname)")",
|
||||
"HF_HOME": "$(json_str "$CACHE_DIR")"$EXTRA_ENV
|
||||
},
|
||||
"secretsRef": {
|
||||
|
||||
Reference in New Issue
Block a user