Skip to content

Commit

Permalink
Fix krew manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
jheyduk committed Apr 15, 2024
1 parent 18361a6 commit 3616274
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add to `krew` index and install with:

```shell
kubectl krew index add kubectl-kcl https://github.com/kcl-lang/kubectl-kcl
kubectl krew install kubectl-kcl/kubectl-kcl
kubectl krew install kubectl-kcl/kcl
```

### From GitHub Releases
Expand Down
27 changes: 26 additions & 1 deletion plugins/kubectl-kcl.yaml → plugins/kcl.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,64 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: kubectl-kcl
name: kcl
spec:
version: v0.5.0
platforms:
- bin: kubectl-kcl
files:
- from: "/kubectl-kcl/bin/kubectl-kcl"
to: .
- from: "/kubectl-kcl/LICENSE"
to: .
uri: https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.5.0/kubectl-kcl-linux-amd64.tgz
sha256: 689cf18e2574574fad1d176794a59846b79ee9cf6b5f691555e953de3e9a220a
selector:
matchLabels:
os: linux
arch: amd64
- bin: kubectl-kcl
files:
- from: "/kubectl-kcl/bin/kubectl-kcl"
to: .
- from: "/kubectl-kcl/LICENSE"
to: .
uri: https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.5.0/kubectl-kcl-linux-arm64.tgz
sha256: d4dec282723f72d5a89df6e91a255be0327f21867fc8c94907f1e7e0fb0f2d8a
selector:
matchLabels:
os: linux
arch: arm64
- bin: kubectl-kcl
files:
- from: "/kubectl-kcl/bin/kubectl-kcl"
to: .
- from: "/kubectl-kcl/LICENSE"
to: .
uri: https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.5.0/kubectl-kcl-macos-amd64.tgz
sha256: 6b79184474ec97faaf7975e03e16113ffca925b14e87d9efcfdaafe3e47dc640
selector:
matchLabels:
os: darwin
arch: amd64
- bin: kubectl-kcl
files:
- from: "/kubectl-kcl/bin/kubectl-kcl"
to: .
- from: "/kubectl-kcl/LICENSE"
to: .
uri: https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.5.0/kubectl-kcl-macos-arm64.tgz
sha256: ad401168aa4321ec4d787659b78cc5efbba81cd00a7ab85d6655a981e77ad8f8
selector:
matchLabels:
os: darwin
arch: arm64
- bin: kubectl-kcl
files:
- from: "/kubectl-kcl/bin/kubectl-kcl.exe"
to: .
- from: "/kubectl-kcl/LICENSE"
to: .
uri: https://github.com/kcl-lang/kubectl-kcl/releases/download/v0.5.0/kubectl-kcl-windows-amd64.tgz
sha256: 768761cf86ed2faad00f5ad2c5851b74d8e8689fca2f562bb1236778f7488819
selector:
Expand Down

0 comments on commit 3616274

Please sign in to comment.