forked from kubernetes-sigs/krew-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-cleanup.yaml
43 lines (43 loc) · 1.63 KB
/
config-cleanup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: config-cleanup
spec:
version: "v0.4.0"
shortDescription: Automatically clean up your kubeconfig
description: |
This plugin will attempt to connect to each apiserver specified by a context entry in your kubeconfig.
If the connection succeeds then the user, cluster, and context entries are maintained in the result.
Otherwise, the entries are removed.
homepage: https://github.com/b23llc/kubectl-config-cleanup
platforms:
- uri: https://github.com/b23llc/kubectl-config-cleanup/releases/download/v0.4.0/kubectl-config-cleanup_0.4.0_Linux_x86_64.tar.gz
sha256: b33e747be6b99560a9e3078ee31e563af3b8c6c8a2c2ac9523db8c2d6b1aeaef
bin: kubectl-config_cleanup
files:
- from: "./kubectl-config_cleanup"
to: "."
selector:
matchLabels:
os: linux
arch: amd64
- uri: https://github.com/b23llc/kubectl-config-cleanup/releases/download/v0.4.0/kubectl-config-cleanup_0.4.0_Darwin_x86_64.tar.gz
sha256: 6f4be52273a9aaf76bb42310313824dee743569fe91d71be2f1a9ca246c05d93
bin: kubectl-config_cleanup
files:
- from: "./kubectl-config_cleanup"
to: "."
selector:
matchLabels:
os: darwin
arch: amd64
- uri: https://github.com/b23llc/kubectl-config-cleanup/releases/download/v0.4.0/kubectl-config-cleanup_0.4.0_Windows_x86_64.zip
sha256: 0cd77c3ca008d061d855c53a470d0f5c589661afff575f1cfb2e2dae40cf2187
bin: kubectl-config_cleanup.exe
files:
- from: "./kubectl-config_cleanup.exe"
to: "."
selector:
matchLabels:
os: windows
arch: amd64