run_server_install.sh now unconditionally sources
examples/fleet_server_install/env.sh after computing REPO_ROOT, so
the example's env knobs (KUBECONFIG, RUST_LOG, NO_ZITADEL,
ZITADEL_HOST, …) are picked up without the user having to source
manually before invoking the script. The script's `${VAR:-default}`
block only fills in values env.sh leaves unset.
env.sh keeps a (commented-out) KUBECONFIG hint and the new optional
Zitadel knobs documented post-source.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
915 B
Bash
20 lines
915 B
Bash
export HARMONY_SECRET_NAMESPACE=fleet-server-install
|
|
export HARMONY_SECRET_STORE=file
|
|
export HARMONY_DATABASE_URL=sqlite://fleet_server_install.sqlite
|
|
export RUST_LOG=harmony=info,kube_runtime=warn
|
|
|
|
# Required: the kubeconfig for the cluster the score installs into.
|
|
# K8sAnywhereTopology::from_env() reads KUBECONFIG; without it, the
|
|
# topology will fall back to autoinstall logic that may try to spin
|
|
# up a local k3d cluster.
|
|
#export KUBECONFIG=/tmp/kubeconfig
|
|
|
|
export HARMONY_USE_LOCAL_K3D=false
|
|
|
|
# Zitadel install knobs (used by fleet/scripts/run_server_install.sh).
|
|
# Zitadel is installed by default; the script's defaults assume a
|
|
# `.localhost` hostname and HTTP ingress.
|
|
# export NO_ZITADEL=1 # skip the Zitadel install entirely
|
|
# export ZITADEL_HOST=zitadel.example.com # override the default zitadel.localhost
|
|
# export ZITADEL_VERSION=v4.12.1 # override the chart version
|