feat: update manifests and namespaces to use templated namespace variables

This commit is contained in:
2026-05-17 23:26:20 +00:00
parent edff518815
commit 872a804aa7
31 changed files with 28 additions and 277 deletions

View File

@@ -1,39 +0,0 @@
#!/bin/bash
set -e
set -o pipefail
if [ -z "${WILD_INSTANCE}" ]; then
echo "ERROR: WILD_INSTANCE is not set"
exit 1
fi
if [ -z "${WILD_API_DATA_DIR}" ]; then
echo "ERROR: WILD_API_DATA_DIR is not set"
exit 1
fi
if [ -z "${KUBECONFIG}" ]; then
echo "ERROR: KUBECONFIG is not set"
exit 1
fi
INSTANCE_DIR="${WILD_API_DATA_DIR}/instances/${WILD_INSTANCE}"
UTILS_DIR="${INSTANCE_DIR}/apps/utils"
echo "=== Setting up Cluster Utilities ==="
echo ""
echo "Using compiled utils templates..."
if [ ! -f "${UTILS_DIR}/kustomization.yaml" ]; then
echo "ERROR: Compiled templates not found at ${UTILS_DIR}"
echo "Templates should be compiled before deployment."
exit 1
fi
echo "Applying utility manifests..."
kubectl apply -k ${UTILS_DIR}/
echo ""
echo "Cluster utilities installed successfully"
echo ""
echo "Utility resources have been deployed to the cluster"

View File

@@ -2,7 +2,6 @@ name: utils
is: utils
description: Utility tools and scripts for cluster administration
version: v1.0.1
namespace: debug
deploymentName: netdebug
category: infrastructure
defaultConfig: