feat(kubernetes): auto-install various tools if kubectl is available

This commit is contained in:
2021-02-02 12:10:10 +00:00
parent 31f81e4beb
commit 855c0d9d94

View File

@@ -12,4 +12,19 @@ if command-exists kubectl; then
unset -f _kubectl
eval "$(command kubectl completion zsh)"
}
zinit ice wait lucid as'program' from'gh-r' mv'kind-* -> kind' \
atclone'./kind completion zsh > _kind' atpull'%atclone'
zinit light kubernetes-sigs/kind
zinit ice wait lucid as'program' from'gh-r' \
atclone'./flux completion zsh > _flux' atpull'%atclone'
zinit light fluxcd/flux2
zinit ice wait lucid as'program' from'gh-r' \
atclone'./kustomize completion zsh > _kustomize' atpull'%atclone'
zinit light kubernetes-sigs/kustomize
zinit ice wait lucid as'program' from'gh-r' mv'kubeseal-* -> kubeseal'
zinit light bitnami-labs/sealed-secrets
fi