0869a57cb585ad6279abf108c742e3c6650ed9d5
- Author
- Wenli Wan <swwl1992@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(kubectl): remove duplicated alias for kubectl plugin `kgsa` (#9927)
Diff
1diff --git a/plugins/kubectl/README.md b/plugins/kubectl/README.md
2index 8937b2b80a49d885f31c23148d0f9e20e2b70f2e..f6651c8cdf4516305d410e04a9a9089fb8363a03 100644
3--- a/plugins/kubectl/README.md
4+++ b/plugins/kubectl/README.md
5@@ -107,7 +107,6 @@ plugins=(... kubectl)
6 | ksss | `kubectl scale statefulset` | Scale a statefulset |
7 | krsss | `kubectl rollout status statefulset`| Check the rollout status of a deployment |
8 | | | **Service Accounts management** |
9-| kgsa | `kubectl get sa` | List all service accounts |
10 | kdsa | `kubectl describe sa` | Describe a service account in details |
11 | kdelsa | `kubectl delete sa` | Delete the service account |
12 | | | **DaemonSet management** |
13diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh
14index 56135274f5150d383816c64235e9525741ba4243..58a40112001410a84840aa5e6f60e62dcfb4e076 100644
15--- a/plugins/kubectl/kubectl.plugin.zsh
16+++ b/plugins/kubectl/kubectl.plugin.zsh
17@@ -151,7 +151,6 @@ alias kdpvc='kubectl describe pvc'
18 alias kdelpvc='kubectl delete pvc'
19
20 # Service account management.
21-alias kgsa="kubectl get sa"
22 alias kdsa="kubectl describe sa"
23 alias kdelsa="kubectl delete sa"
24