Files
2026-09-27 15:35:51 +02:00

7 lines
407 B
Bash

# Source from anywhere: `. ./env.sh` (bash or zsh). Endpoint and node live in the talosconfig,
# so plain `talosctl <cmd>` / `kubectl <cmd>` talk to cirrus-01.
_cirrus_root=$(cd "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" && pwd)
export TALOSCONFIG="$_cirrus_root/talos/talosconfig"
export KUBECONFIG="$_cirrus_root/talos/kubeconfig" # created by: talosctl kubeconfig talos/kubeconfig
unset _cirrus_root