docs: add portable from-zero deploy runbook and GitOps templates
Document server-side rollout (values, Sealed Secrets, logging, greenfield reset) with environment variables so any cluster can follow the same steps. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,13 +6,18 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
NAMESPACE="${NAMESPACE:-cloudhost}"
|
||||
RELEASE="${RELEASE:-cloudhost}"
|
||||
# Production values now live in the cloud-host-gitops repo (platform/values-abrban.yaml).
|
||||
# Fallback: example template in this repo for bootstrap / local helm.
|
||||
VALUES="${VALUES:-${ROOT}/../cloud-host-gitops/platform/values-abrban.yaml}"
|
||||
if [[ ! -f "${VALUES}" ]]; then
|
||||
VALUES="${ROOT}/gitops/platform/values-abrban.example.yaml"
|
||||
fi
|
||||
TAG="${TAG:-}"
|
||||
|
||||
if [[ ! -f "${VALUES}" ]]; then
|
||||
echo "ERROR: values file not found: ${VALUES}" >&2
|
||||
echo "ERROR: values file not found." >&2
|
||||
echo "Clone the GitOps repo next to this one, or pass VALUES=/path/to/values-abrban.yaml:" >&2
|
||||
echo " git clone https://git.abrban.com/abrban/cloud-host-gitops.git" >&2
|
||||
echo "Or copy gitops/platform/values-abrban.example.yaml to your gitops repo." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user