mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-03-18 03:42:12 +00:00
Compare commits
2 Commits
abalkan/ba
...
abalkan/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86438898ad | ||
|
|
c52b598c2c |
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -31,12 +31,12 @@ jobs:
|
||||
echo "::set-output name=go-build::$(go env GOCACHE)"
|
||||
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
|
||||
- name: Go Build Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.go-cache-paths.outputs.go-build }}
|
||||
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
|
||||
- name: Go Mod Cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.go-cache-paths.outputs.go-mod }}
|
||||
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
|
||||
|
||||
4
kubectx
4
kubectx
@@ -33,6 +33,8 @@ usage() {
|
||||
fi
|
||||
|
||||
cat <<EOF
|
||||
Manage and switch between kubectl contexts.
|
||||
|
||||
USAGE:
|
||||
$SELF : list the contexts
|
||||
$SELF <NAME> : switch to context <NAME>
|
||||
@@ -46,6 +48,8 @@ USAGE:
|
||||
$SELF -u, --unset : unset the current context
|
||||
|
||||
$SELF -h,--help : show this message
|
||||
|
||||
(This executable is the legacy bash-based implementation, consider upgrading to Go-based implementation.)
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
4
kubens
4
kubens
@@ -33,12 +33,16 @@ usage() {
|
||||
fi
|
||||
|
||||
cat <<EOF
|
||||
Switch between Kubernetes namespaces.
|
||||
|
||||
USAGE:
|
||||
$SELF : list the namespaces in the current context
|
||||
$SELF <NAME> : change the active namespace of current context
|
||||
$SELF - : switch to the previous namespace in this context
|
||||
$SELF -c, --current : show the current namespace
|
||||
$SELF -h,--help : show this message
|
||||
|
||||
(This executable is the legacy bash-based implementation, consider upgrading to Go-based implementation.)
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user