Skip to content

Commit 9f4db14

Browse files
Add kind proto plugin (#20)
Adds a proto plugin for [kind](https://github.com/kubernetes-sigs/kind), needed to bring up local Kubernetes clusters for testing FluxCD deployments in the infra repo. kind ships raw per-platform binaries (no archive), each with its own `.sha256sum` checksum file rather than one combined checksums file — same shape as `yq`/`shfmt` for the raw-binary download, with per-file checksum verification like `kubeconform`. Verified locally: plugin registration, install (macOS/arm64), checksum verification, and `kind version` all succeed.
1 parent 83e1ba2 commit 9f4db14

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

.prototools

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ flux = "2.8.8"
1212
flux-operator-mcp = "0.52.0"
1313
golangci-lint = "2.12.2"
1414
grpcurl = "1.9.3"
15+
kind = "0.32.0"
1516
kubeconform = "0.8.0"
1617
prek = "0.4.5"
1718
rumdl = "0.2.14"
@@ -40,6 +41,7 @@ flux = "file://./flux/plugin.toml"
4041
flux-operator-mcp = "file://./flux-operator-mcp/plugin.toml"
4142
golangci-lint = "file://./golangci-lint/plugin.toml"
4243
grpcurl = "file://./grpcurl/plugin.toml"
44+
kind = "file://./kind/plugin.toml"
4345
kubeconform = "file://./kubeconform/plugin.toml"
4446
prek = "file://./prek/plugin.toml"
4547
rumdl = "file://./rumdl/plugin.toml"

kind/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# kind plugin
2+
3+
[kind](https://github.com/kubernetes-sigs/kind) plugin for
4+
[proto](https://github.com/moonrepo/proto).
5+
6+
## Installation
7+
8+
kind is not built into proto, so register this plugin, pin a version, then install:
9+
10+
```shell
11+
proto plugin add kind "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/kind/plugin.toml"
12+
proto pin kind latest --resolve
13+
proto install kind
14+
```

kind/plugin.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name = "kind"
2+
type = "cli"
3+
4+
[resolve]
5+
git-url = "https://github.com/kubernetes-sigs/kind"
6+
7+
[install.arch]
8+
aarch64 = "arm64"
9+
x86_64 = "amd64"
10+
11+
[platform.linux]
12+
download-file = "kind-linux-{arch}"
13+
checksum-file = "kind-linux-{arch}.sha256sum"
14+
15+
[platform.macos]
16+
download-file = "kind-darwin-{arch}"
17+
checksum-file = "kind-darwin-{arch}.sha256sum"
18+
19+
[platform.windows]
20+
download-file = "kind-windows-{arch}"
21+
checksum-file = "kind-windows-{arch}.sha256sum"
22+
23+
# kind ships raw binaries (no archive), one checksum file per binary.
24+
[install]
25+
download-url = "https://github.com/kubernetes-sigs/kind/releases/download/v{version}/{download_file}"
26+
checksum-url = "https://github.com/kubernetes-sigs/kind/releases/download/v{version}/{checksum_file}"
27+
unpack = false

0 commit comments

Comments
 (0)