Description
u8s is an internal SAP CLI that bundles kubectl, helm, kubelogin, and other utilities with version-pinned downloads, OIDC logon, context management, and fleet-wide operations. As cloudctl becomes the public OSS successor, the relevant functionality should be migrated so external users get the same experience without needing the internal tool.
Objectives
- Port the tool download infrastructure (kubectl, helm, kubelogin) with SHA-256 verification and XDG cache management
- Add
kubectl and helm subcommands that auto-inject context/namespace/kubeconfig
- Add OIDC
logon subcommand backed by version-pinned kubelogin
- Add
foreach for fleet-wide parallel kubectl execution with context selectors
- Add
doctor, set/env, and prompt for local state management and shell integration
Acceptance Criteria
Dependencies
- Existing
cluster-version command (used by kubectl subcommand to select correct binary version)
- Existing
sync command (invoked before kubectl/helm execution)
Description
u8sis an internal SAP CLI that bundles kubectl, helm, kubelogin, and other utilities with version-pinned downloads, OIDC logon, context management, and fleet-wide operations. As cloudctl becomes the public OSS successor, the relevant functionality should be migrated so external users get the same experience without needing the internal tool.Objectives
kubectlandhelmsubcommands that auto-inject context/namespace/kubeconfiglogonsubcommand backed by version-pinned kubeloginforeachfor fleet-wide parallel kubectl execution with context selectorsdoctor,set/env, andpromptfor local state management and shell integrationAcceptance Criteria
cloudctl kubectldownloads version-matched kubectl and execs with injected flagscloudctl helmdownloads pinned helm and execs with injected flagscloudctl logondetects auth type and invokes kubelogin appropriatelycloudctl foreachruns kubectl in parallel across selected contextscloudctl doctorresets local cache and config statecloudctl set/cloudctl envpersist and print session configcloudctl promptprints colored context/namespace for shell prompt integrationDependencies
cluster-versioncommand (used bykubectlsubcommand to select correct binary version)synccommand (invoked before kubectl/helm execution)