Skip to content

History / context update

Revisions

  • wiki(cli): document context model, init/update/port-forward, global --context, auth login PKCE hints, exit code 77 Covers the CLI changes shipped in noetl/cli v2.15.0 - v2.17.0 (PRs #13, #14, #16, #17): - context init --from-gateway: bootstrap a context by reading the gateway's GET /api/runtime/contract auth0 block, with operator confirmation + warning when no block is exposed. - context update: patch a context's fields in place; empty string clears Auth0 / kube fields without dropping the cached session token. - context port-forward: managed kubectl tunnel with --detach / --stop / --status, PID file at ~/.noetl/port-forwards/<ctx>.pid, TcpListener bind probe before spawn so stray kubectl from another shell fails fast. - noetl --context <name>: global per-command override mirroring kubectl --context. - auth login --browser-pkce pre-flight: prints the redirect URI + Auth0 dashboard URL so operators can verify the callback is allowlisted before the browser opens. - Exit code 77: dedicated "gateway session expired" code for scripts. Home.md rebuilt as a hub linking the per-command pages; _Sidebar.md adds nav. Adds connecting-to-a-cluster.md mirroring the three supported connection paths (gateway / port-forward / direct). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

    @kadyapam kadyapam committed May 28, 2026