Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix krew #30

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading