Make wrapper work for simple usecase

This commit is contained in:
2021-12-21 02:00:48 -08:00
parent c7e09adba2
commit bb695de69f
5 changed files with 294 additions and 3 deletions

View File

@@ -52,4 +52,19 @@ _verify-prerequisites() {
fi
}
kubectlw() {
_wrapper \
-n kubectl \
-v v1.19.4 \
-l https://dl.k8s.io/release/VERSION/bin/linux/amd64/kubectl \
-d https://dl.k8s.io/release/VERSION/bin/darwin/amd64/kubectl \
-- \
"$@"
}
⚡kubectl-version() {
_help-line "Show version of kubectl wrapper" "$@"
kubectlw version
}
source ⚡