Home

Awesome

Gardenctl plugin

This plugin adds completion for the Gardener command-line interface, as well as some aliases for common gardenctl commands. If no TERM_SESSION_ID environment variable is defined it generates a uuid and exports it as GCTL_SESSION_ID.

To use it, add gardenctl to the plugins array in your zshrc file:

plugins=(... gardenctl)

Aliases

AliasCommandDescription
ggardenctlThe gardenctl command
gtvgardenctl target view -o yamlShow the current target
gtcgardenctl target control-planeTarget the control-plane of a shoot
gtc-gardenctl target unset control-planeTarget the shoot of a control-plane
gkeval $(gardenctl kubectl-env zsh)Configure kubetcl environment
gpeval $(gardenctl kubectl-env zsh)Configure cloud provider CLI environment
gcvgardenctl config view -o yamlShow gardenctl configuration