Skip to content

Commit

Permalink
Fix .krew yaml
Browse files Browse the repository at this point in the history
Signed-off-by: astraw99 <wangchengiscool@gmail.com>
  • Loading branch information
astraw99 committed Aug 26, 2022
1 parent 622f1a8 commit d9e8e77
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 25 deletions.
23 changes: 8 additions & 15 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Plugin
metadata:
name: kc
spec:
version: v0.19.3
version: {{ .TagName }}
homepage: https://github.com/sunny0826/kubecm
shortDescription: "Easier management of kubeconfig."
description: |
Expand All @@ -14,48 +14,41 @@ spec:
matchLabels:
os: darwin
arch: amd64
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Darwin_x86_64.tar.gz
sha256: 206ecd656b321f8d1899593e1c6c3a397cb54dd524e61eab29c6f9ebf2ce5d5c
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Darwin_x86_64.tar.gz" .TagName }}
bin: kubecm
- selector:
matchLabels:
os: darwin
arch: arm64
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Darwin_arm64.tar.gz
sha256: 66e61032224e12d09b3e72fc7bea033b5fbd62c41c15ac9c0a91f81e7bdfe831
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Darwin_arm64.tar.gz" .TagName }}
bin: kubecm
- selector:
matchLabels:
os: linux
arch: amd64
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_x86_64.tar.gz
sha256: a7cdfd72f8867c38abe7ec0785b92732e02b10d6919564a0f4a7d843ca1ac305
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_x86_64.tar.gz" .TagName }}
bin: kubecm
- selector:
matchLabels:
os: linux
arch: arm64
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_arm64.tar.gz
sha256: 0b4b1ea13277b0d85b5db622d94d31b05e80a7cf40a7a3c13265a331898f8e7c
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_arm64.tar.gz" .TagName }}
bin: kubecm
- selector:
matchLabels:
os: linux
arch: 386
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Linux_i386.tar.gz
sha256: e16923685f38f7632dd2dd331255f5cbeefedfb9f5bfeb0975524f6d4cdea4f8
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Linux_i386.tar.gz" .TagName }}
bin: kubecm
- selector:
matchLabels:
os: windows
arch: amd64
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Windows_x86_64.tar.gz
sha256: ba5bf5127377dcaa086b04a54792bfd156d4bba4ecdf3fba2d953945137ce0de
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Windows_x86_64.tar.gz" .TagName }}
bin: kubecm.exe
- selector:
matchLabels:
os: windows
arch: 386
uri: https://github.com/sunny0826/kubecm/releases/download/v0.19.3/kubecm_0.19.3_Windows_i386.tar.gz
sha256: b56c7ec443e8ea6e59317101a5d008bc8306242901d3f9812f35dbf09ca936ad
{{ addURIAndSha "https://github.com/sunny0826/kubecm/releases/download/{{ .TagName }}/kubecm_{{ .TagName }}_Windows_i386.tar.gz" .TagName }}
bin: kubecm.exe
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ For full documentation, please visit the KubeCM website: [https://kubecm.cloud](
[![asciicast](https://asciinema.org/a/389595.svg)](https://asciinema.org/a/389595)

## Install
Using [krew](https://krew.sigs.k8s.io/):
Using [Krew](https://krew.sigs.k8s.io/):

```bash
kubectl krew install kc
```

Using brew:
Using Homebrew:

```bash
brew install kubecm
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ For full documentation, please visit the KubeVela website: [https://kubecm.cloud
[![](https://tva3.sinaimg.cn/large/ad5fbf65gy1gij1pl0pn5j218o0p81kx.jpg)](https://www.bilibili.com/video/av88259938/)

## Install
Using [krew](https://krew.sigs.k8s.io/):
Using [Krew](https://krew.sigs.k8s.io/):

```bash
kubectl krew install kc
```

Using brew:
Using Homebrew:

```bash
brew install kubecm
Expand Down
6 changes: 3 additions & 3 deletions docs/en-us/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@ Use "kubecm [command] --help" for more information about a command.
<script id="asciicast-389595" src="https://asciinema.org/a/389595.js" async></script>

## Install
Using [krew](https://krew.sigs.k8s.io/):
Using [Krew](https://krew.sigs.k8s.io/):

```bash
kubectl krew install kc
```

Using brew:
Using Homebrew:

```bash
brew install kubecm
```

Source binary:
Source Binary:

[Download the library](https://github.com/sunny0826/kubecm/releases)

Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Multiple installation paths are available.

#### ** Krew **

Using [krew](https://krew.sigs.k8s.io/):
Using [Krew](https://krew.sigs.k8s.io/):

```bash
kubectl krew install kc
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Using [Krew](https://krew.sigs.k8s.io/):
kubectl krew install kc
```

Using brew:
Using Homebrew:

```bash
brew install kubecm
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#### ** Krew **

Using [krew](https://krew.sigs.k8s.io/):
Using [Krew](https://krew.sigs.k8s.io/):

```bash
kubectl krew install kc
Expand Down

0 comments on commit d9e8e77

Please sign in to comment.