Files
OpenShell/scripts/bin/kubectl
T
Drew Newberry 31f21ac351 refactor(cli): remove kubeconfig port, add doctor llm-help, update debug docs
Remove the kubeconfig port forwarding feature and update the doctor
llm-help prompt and debug-navigator-cluster skill to reflect the
current deployment state: openshell namespace, openshell-* resource
names, correct mTLS credential paths, and new failure patterns.
2026-03-11 20:56:12 -07:00

16 lines
459 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Gateway-aware kubectl wrapper.
#
# Runs kubectl inside the active gateway's k3s container via
# `openshell doctor exec`. All arguments are forwarded to kubectl.
#
# Usage:
# kubectl get pods -A
# kubectl logs -n navigator statefulset/navigator
exec openshell doctor exec -- kubectl "$@"