-
Notifications
You must be signed in to change notification settings - Fork 0
/
.krew.yaml
50 lines (50 loc) · 2.21 KB
/
.krew.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
44
45
46
47
48
49
50
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: cache
spec:
version: "{{ .TagName }}"
homepage: "https://github.com/yhlooo/kubectl-cache"
shortDescription: "Get or list Kubernetes resources with local cache"
description: |
This plugin provides the `get`, `describe` and `proxy` subcommands, similar to
`kubectl get/describe/proxy ...`. However, getting or listing Kubernetes
resources using this plugin is implemented through local cache, which can reduce
the pressure on Kubernetes APIServer and etcd and improve response speed.
platforms:
- selector:
matchLabels:
os: linux
arch: amd64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-linux-amd64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache
- selector:
matchLabels:
os: linux
arch: arm64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-linux-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache
- selector:
matchLabels:
os: darwin
arch: amd64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-darwin-amd64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache
- selector:
matchLabels:
os: darwin
arch: arm64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-darwin-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache
- selector:
matchLabels:
os: windows
arch: amd64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-windows-amd64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache.exe
- selector:
matchLabels:
os: windows
arch: arm64
{{ addURIAndSha "https://github.com/yhlooo/kubectl-cache/releases/download/{{ .TagName }}/kubectl-cache-{{ .TagName }}-windows-arm64.tar.gz" .TagName | indent 6 }}
bin: kubectl-cache.exe