use flake

export KUBECONFIG="${PWD}/talos/kubeconfig"
export TALOSCONFIG="${PWD}/talos/talosconfig"

[ ! -f "$KUBECONFIG" ] && log_error "kubeconfig not found at $KUBECONFIG — run: talosctl kubeconfig --nodes <node-ip>"
[ ! -f "$TALOSCONFIG" ] && log_error "talosconfig not found at $TALOSCONFIG — regenerate from secrets.yaml"
