All binaries

kubectl

ghcr.io/openotters/tools/kubectl:latest

Kubernetes CLI. Pass kubectl subcommands and flags as args; --kubeconfig is read from the agent's env. Reads YAML manifests from stdin when args contain '-f -'.

Usage

Kubernetes CLI. Standard kubectl invocation:

{ "args": ["get", "pods", "-n", "kube-system"] }

Read manifests from stdin via -f -:

{
  "args":  ["apply", "-f", "-"],
  "stdin": "apiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: demo\n..."
}

Output formatting works as expected:

{ "args": ["get", "deploy", "-o", "yaml"] }
{ "args": ["get", "pods", "-o", "json"] }

The agent inherits the daemon's KUBECONFIG / current-context — no in-band auth.

Tags

4 tags
  • v1.36.0
  • v1.36
  • v1
  • latest