From 3618c2b9fccebb3821a5c175f79ffebd7114ea8e Mon Sep 17 00:00:00 2001 From: Franz Bettag Date: Mon, 16 Sep 2024 16:03:10 +0200 Subject: [PATCH 1/5] adds ranching.farm plugin. --- plugins/ranching_farm.yaml | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 plugins/ranching_farm.yaml diff --git a/plugins/ranching_farm.yaml b/plugins/ranching_farm.yaml new file mode 100644 index 00000000000..7aae9532a84 --- /dev/null +++ b/plugins/ranching_farm.yaml @@ -0,0 +1,63 @@ +apiVersion: krew.googlecontainertools.github.com/v1alpha2 +kind: Plugin +metadata: + name: ranching_farm +spec: + version: "v0.1.0" + platforms: + - selector: + matchLabels: + os: linux + arch: amd64 + uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_amd64.zip + sha256: d4f6ee38dfe04dcb395cb88ec557de3615ed49bda5a5f44254be418f8989e824 + files: + - from: kubectl-ranching.farm_linux_amd64 + to: kubectl-ranching_farm + bin: kubectl-ranching_farm + - selector: + matchLabels: + os: linux + arch: arm64 + uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_arm64.zip + sha256: 1c5b47a871b7505536f6b636d34ce6f5ec8d41fe2efdb26098ac40611e463cc4 + files: + - from: kubectl-ranching.farm_linux_arm64 + to: kubectl-ranching_farm + bin: kubectl-ranching_farm + - selector: + matchLabels: + os: darwin + arch: amd64 + uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_darwin_amd64.zip + sha256: 4142c18c56141a5eff19d9a53a48f0559700ef86f312fa60c503a32a5cfd7364 + files: + - from: kubectl-ranching.farm_darwin_amd64 + to: kubectl-ranching_farm + bin: kubectl-ranching_farm + - selector: + matchLabels: + os: darwin + arch: arm64 + uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_darwin_arm64.zip + sha256: 924a8b3cb15f847d05119d45ba333e7e2c4a90bb611aa510d5ff4e3989dd503f + files: + - from: kubectl-ranching.farm_darwin_arm64 + to: kubectl-ranching_farm + bin: kubectl-ranching_farm + - selector: + matchLabels: + os: windows + arch: amd64 + uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_windows_amd64.exe.zip + sha256: e82efa42d24249548951858e08db14c98cfcacd55532d85c4ce8d4c8c89d8d22 + files: + - from: kubectl-ranching.farm_windows_amd64.exe + to: kubectl-ranching_farm + bin: kubectl-ranching_farm + shortDescription: AI-powered Kubernetes assistant + description: | + ranching.farm is an AI-powered assistant for Kubernetes. It allows you to ask + questions about Kubernetes on our website, directly connecting to your cluster + through kubectl, providing intelligent answers, solutions and graphs. + homepage: https://github.com/ranching-farm/kubectl-addon From fed0f4bd809f75d3d737e48c8c79ea2285cb90c6 Mon Sep 17 00:00:00 2001 From: Franz Bettag Date: Mon, 16 Sep 2024 16:25:15 +0200 Subject: [PATCH 2/5] adds LICENSE file and updates hashes. --- plugins/ranching_farm.yaml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/plugins/ranching_farm.yaml b/plugins/ranching_farm.yaml index 7aae9532a84..345cfcc8a50 100644 --- a/plugins/ranching_farm.yaml +++ b/plugins/ranching_farm.yaml @@ -10,50 +10,60 @@ spec: os: linux arch: amd64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_amd64.zip - sha256: d4f6ee38dfe04dcb395cb88ec557de3615ed49bda5a5f44254be418f8989e824 + sha256: 2b9d0f3b0cea034b146ff0f17b540ad58240357434731df2198a835e6e1aef18 files: - from: kubectl-ranching.farm_linux_amd64 to: kubectl-ranching_farm + - from: LICENSE + to: . bin: kubectl-ranching_farm - selector: matchLabels: os: linux arch: arm64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_arm64.zip - sha256: 1c5b47a871b7505536f6b636d34ce6f5ec8d41fe2efdb26098ac40611e463cc4 + sha256: bc362478bb66ff01e8208b0f35df4394e42dea33f558e428f01f112b73a2092f files: - from: kubectl-ranching.farm_linux_arm64 to: kubectl-ranching_farm + - from: LICENSE + to: . bin: kubectl-ranching_farm - selector: matchLabels: os: darwin arch: amd64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_darwin_amd64.zip - sha256: 4142c18c56141a5eff19d9a53a48f0559700ef86f312fa60c503a32a5cfd7364 + sha256: 2b9d0f3b0cea034b146ff0f17b540ad58240357434731df2198a835e6e1aef18 files: - from: kubectl-ranching.farm_darwin_amd64 to: kubectl-ranching_farm + - from: LICENSE + to: . bin: kubectl-ranching_farm - selector: matchLabels: os: darwin arch: arm64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_darwin_arm64.zip - sha256: 924a8b3cb15f847d05119d45ba333e7e2c4a90bb611aa510d5ff4e3989dd503f + sha256: bc362478bb66ff01e8208b0f35df4394e42dea33f558e428f01f112b73a2092f files: - from: kubectl-ranching.farm_darwin_arm64 to: kubectl-ranching_farm + - from: LICENSE + to: . bin: kubectl-ranching_farm - selector: matchLabels: os: windows arch: amd64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_windows_amd64.exe.zip - sha256: e82efa42d24249548951858e08db14c98cfcacd55532d85c4ce8d4c8c89d8d22 + sha256: 258f8f0c86c3f5aee25a08163b320895f92d56b2c6de4feff20fc71702f1f6cc files: - from: kubectl-ranching.farm_windows_amd64.exe to: kubectl-ranching_farm + - from: LICENSE + to: . bin: kubectl-ranching_farm shortDescription: AI-powered Kubernetes assistant description: | From 6e2b89861b77c719ba134f363f4711e3df327880 Mon Sep 17 00:00:00 2001 From: Franz Bettag Date: Mon, 16 Sep 2024 16:28:28 +0200 Subject: [PATCH 3/5] fixes the linux checksums. --- plugins/ranching_farm.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ranching_farm.yaml b/plugins/ranching_farm.yaml index 345cfcc8a50..d845949afb0 100644 --- a/plugins/ranching_farm.yaml +++ b/plugins/ranching_farm.yaml @@ -10,7 +10,7 @@ spec: os: linux arch: amd64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_amd64.zip - sha256: 2b9d0f3b0cea034b146ff0f17b540ad58240357434731df2198a835e6e1aef18 + sha256: 7a0d71cefc27a69f3d424052720ba93fc53c2f945629302271dbdc4657bab912 files: - from: kubectl-ranching.farm_linux_amd64 to: kubectl-ranching_farm @@ -22,7 +22,7 @@ spec: os: linux arch: arm64 uri: https://github.com/ranching-farm/kubectl-addon/releases/download/v0.1.0/kubectl-ranching.farm_linux_arm64.zip - sha256: bc362478bb66ff01e8208b0f35df4394e42dea33f558e428f01f112b73a2092f + sha256: a203b90f8433bffd49c5ffa66b72491c49b072c90394c95ebeb7600876655aac files: - from: kubectl-ranching.farm_linux_arm64 to: kubectl-ranching_farm From f77ea3263fa2562345575a6316bd89d5915b8bc7 Mon Sep 17 00:00:00 2001 From: Franz Bettag Date: Wed, 30 Oct 2024 13:22:05 +0100 Subject: [PATCH 4/5] Update ranching_farm.yaml changes metadata name to `ranching-farm` for better readability --- plugins/ranching_farm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ranching_farm.yaml b/plugins/ranching_farm.yaml index d845949afb0..ef5fce008f5 100644 --- a/plugins/ranching_farm.yaml +++ b/plugins/ranching_farm.yaml @@ -1,7 +1,7 @@ apiVersion: krew.googlecontainertools.github.com/v1alpha2 kind: Plugin metadata: - name: ranching_farm + name: ranching-farm spec: version: "v0.1.0" platforms: From 5c2218de056a15eec4f0495b0d8a70d07dc97a27 Mon Sep 17 00:00:00 2001 From: Franz Bettag Date: Wed, 30 Oct 2024 13:25:01 +0100 Subject: [PATCH 5/5] Update and rename ranching_farm.yaml to ranching-farm.yaml --- .../{ranching_farm.yaml => ranching-farm.yaml} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename plugins/{ranching_farm.yaml => ranching-farm.yaml} (90%) diff --git a/plugins/ranching_farm.yaml b/plugins/ranching-farm.yaml similarity index 90% rename from plugins/ranching_farm.yaml rename to plugins/ranching-farm.yaml index ef5fce008f5..0ddcd7dea9a 100644 --- a/plugins/ranching_farm.yaml +++ b/plugins/ranching-farm.yaml @@ -13,10 +13,10 @@ spec: sha256: 7a0d71cefc27a69f3d424052720ba93fc53c2f945629302271dbdc4657bab912 files: - from: kubectl-ranching.farm_linux_amd64 - to: kubectl-ranching_farm + to: kubectl-ranching-farm - from: LICENSE to: . - bin: kubectl-ranching_farm + bin: kubectl-ranching-farm - selector: matchLabels: os: linux @@ -25,10 +25,10 @@ spec: sha256: a203b90f8433bffd49c5ffa66b72491c49b072c90394c95ebeb7600876655aac files: - from: kubectl-ranching.farm_linux_arm64 - to: kubectl-ranching_farm + to: kubectl-ranching-farm - from: LICENSE to: . - bin: kubectl-ranching_farm + bin: kubectl-ranching-farm - selector: matchLabels: os: darwin @@ -37,10 +37,10 @@ spec: sha256: 2b9d0f3b0cea034b146ff0f17b540ad58240357434731df2198a835e6e1aef18 files: - from: kubectl-ranching.farm_darwin_amd64 - to: kubectl-ranching_farm + to: kubectl-ranching-farm - from: LICENSE to: . - bin: kubectl-ranching_farm + bin: kubectl-ranching-farm - selector: matchLabels: os: darwin @@ -49,10 +49,10 @@ spec: sha256: bc362478bb66ff01e8208b0f35df4394e42dea33f558e428f01f112b73a2092f files: - from: kubectl-ranching.farm_darwin_arm64 - to: kubectl-ranching_farm + to: kubectl-ranching-farm - from: LICENSE to: . - bin: kubectl-ranching_farm + bin: kubectl-ranching-farm - selector: matchLabels: os: windows