Make wrapper work for simple usecase
This commit is contained in:
15
examples
15
examples
@@ -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 ⚡
|
||||
|
||||
Reference in New Issue
Block a user