diff --git a/.prototools b/.prototools index c033428..c382ebb 100644 --- a/.prototools +++ b/.prototools @@ -12,6 +12,7 @@ flux = "2.8.8" flux-operator-mcp = "0.52.0" golangci-lint = "2.12.2" grpcurl = "1.9.3" +kind = "0.32.0" kubeconform = "0.8.0" prek = "0.4.5" rumdl = "0.2.14" @@ -40,6 +41,7 @@ flux = "file://./flux/plugin.toml" flux-operator-mcp = "file://./flux-operator-mcp/plugin.toml" golangci-lint = "file://./golangci-lint/plugin.toml" grpcurl = "file://./grpcurl/plugin.toml" +kind = "file://./kind/plugin.toml" kubeconform = "file://./kubeconform/plugin.toml" prek = "file://./prek/plugin.toml" rumdl = "file://./rumdl/plugin.toml" diff --git a/kind/README.md b/kind/README.md new file mode 100644 index 0000000..5773dcc --- /dev/null +++ b/kind/README.md @@ -0,0 +1,14 @@ +# kind plugin + +[kind](https://github.com/kubernetes-sigs/kind) plugin for +[proto](https://github.com/moonrepo/proto). + +## Installation + +kind is not built into proto, so register this plugin, pin a version, then install: + +```shell +proto plugin add kind "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/kind/plugin.toml" +proto pin kind latest --resolve +proto install kind +``` diff --git a/kind/plugin.toml b/kind/plugin.toml new file mode 100644 index 0000000..313d424 --- /dev/null +++ b/kind/plugin.toml @@ -0,0 +1,27 @@ +name = "kind" +type = "cli" + +[resolve] +git-url = "https://github.com/kubernetes-sigs/kind" + +[install.arch] +aarch64 = "arm64" +x86_64 = "amd64" + +[platform.linux] +download-file = "kind-linux-{arch}" +checksum-file = "kind-linux-{arch}.sha256sum" + +[platform.macos] +download-file = "kind-darwin-{arch}" +checksum-file = "kind-darwin-{arch}.sha256sum" + +[platform.windows] +download-file = "kind-windows-{arch}" +checksum-file = "kind-windows-{arch}.sha256sum" + +# kind ships raw binaries (no archive), one checksum file per binary. +[install] +download-url = "https://github.com/kubernetes-sigs/kind/releases/download/v{version}/{download_file}" +checksum-url = "https://github.com/kubernetes-sigs/kind/releases/download/v{version}/{checksum_file}" +unpack = false