From 0ae6b711770d052c60cccab818403bc2e9721c64 Mon Sep 17 00:00:00 2001 From: mfenerich <142222759+mfenerich@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:21:10 +0100 Subject: [PATCH 1/2] add limitrange plugin --- plugins/limitrange.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 plugins/limitrange.yaml diff --git a/plugins/limitrange.yaml b/plugins/limitrange.yaml new file mode 100644 index 00000000000..963967382ef --- /dev/null +++ b/plugins/limitrange.yaml @@ -0,0 +1,35 @@ +apiVersion: krew.googlecontainertools.github.com/v1alpha2 +kind: Plugin +metadata: + name: limitrange +spec: + version: v1.0.2 + homepage: https://github.com/mfenerich/kubectl-lr + shortDescription: "Creates limitrange resources in Kubernetes" + description: | + kubectl-limitrange is a kubectl plugin that allows easy creation of + LimitRange resources in Kubernetes namespaces with configurable + CPU and memory limits. + platforms: + - selector: + matchLabels: + os: darwin + arch: arm64 + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-darwin-amd64.tar.gz + sha256: d01f4e27579e57cc6c66448983a695c788039c900927b7ec9d27fbc1d799cf3d + bin: kubectl-limitrange + - selector: + matchLabels: + os: linux + arch: amd64 + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-linux-amd64.tar.gz + sha256: 614d16cc2ca4d4becd7247da9d40c70114759384d9a10b3820dc8d80b1d2e0db + bin: kubectl-limitrange + - selector: + matchExpressions: + matchLabels: + os: windows + arch: amd64 + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-windows-amd64.zip + sha256: 0fe51745b27bbe12f81d716a027d6d42d41a0670feb5d5747e741dc0df153968 + bin: kubectl-limitrange.exe From 933cd3a9aa430f0225b312b077bd0f1c755b5bc1 Mon Sep 17 00:00:00 2001 From: Marcel Fenerich <142222759+mfenerich@users.noreply.github.com> Date: Thu, 13 Mar 2025 20:43:16 +0100 Subject: [PATCH 2/2] Update limitrange.yaml --- plugins/limitrange.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/plugins/limitrange.yaml b/plugins/limitrange.yaml index 963967382ef..307e3929141 100644 --- a/plugins/limitrange.yaml +++ b/plugins/limitrange.yaml @@ -3,33 +3,31 @@ kind: Plugin metadata: name: limitrange spec: - version: v1.0.2 + version: v1.0.3 homepage: https://github.com/mfenerich/kubectl-lr shortDescription: "Creates limitrange resources in Kubernetes" description: | - kubectl-limitrange is a kubectl plugin that allows easy creation of - LimitRange resources in Kubernetes namespaces with configurable - CPU and memory limits. + kubectl create-limitrange is a kubectl plugin that extends the standard 'kubectl create' command, allowing easy creation of LimitRange resources in Kubernetes namespaces with configurable CPU and memory limits. platforms: - selector: matchLabels: os: darwin arch: arm64 - uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-darwin-amd64.tar.gz - sha256: d01f4e27579e57cc6c66448983a695c788039c900927b7ec9d27fbc1d799cf3d + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.3/kubectl-limitrange-darwin-arm64.tar.gz + sha256: 0597e012578fbc08b483fa0cdf73e84bf3e91c807f057f1039b9239397f298b1 bin: kubectl-limitrange - selector: matchLabels: os: linux arch: amd64 - uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-linux-amd64.tar.gz - sha256: 614d16cc2ca4d4becd7247da9d40c70114759384d9a10b3820dc8d80b1d2e0db + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.3/kubectl-limitrange-linux-amd64.tar.gz + sha256: 97a1792fb9df9ba483dea2c0e82ced8a7740b629c24c912288657563982f22e7 bin: kubectl-limitrange - selector: matchExpressions: matchLabels: os: windows arch: amd64 - uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.2/kubectl-limitrange-windows-amd64.zip - sha256: 0fe51745b27bbe12f81d716a027d6d42d41a0670feb5d5747e741dc0df153968 + uri: https://github.com/mfenerich/kubectl-lr/releases/download/v1.0.3/kubectl-limitrange-windows-amd64.zip + sha256: 78a07428730d9ca66b072ad089ee928f9364c0e87ae97040a383b4cfd4a9a564 bin: kubectl-limitrange.exe