From 24e422fa9e095839a4c0ae3cbabdcdb53424fd97 Mon Sep 17 00:00:00 2001 From: Daniel Henkel Date: Thu, 7 Dec 2023 11:31:15 +0100 Subject: [PATCH] fix: update .krew manifest to match new plugin name/functions --- .krew.yaml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.krew.yaml b/.krew.yaml index 100486f..5f9028d 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -3,52 +3,47 @@ kind: Plugin metadata: name: debug-pdb spec: - # 'version' is a valid semantic version string (see semver.org). Note the prefix 'v' is required. version: "{{ .TagName }}" - # 'homepage' usually links to the GitHub repository of the plugin homepage: https://github.com/dhenkel92/kubectl-debug-pdb - # 'shortDescription' explains what the plugin does in only a few words - shortDescription: "Debug and manage Pod Disruption Budgets (PDB)" + shortDescription: "Debug Pod Disruption Budgets (PDB)" description: | - Pod Disruption Budgets (PDBs) help limit the number of concurrent disruptions your application experiences. - This enhances availability while allowing the cluster administrator to manage the cluster nodes. - Unfortunately, kubectl provides limited tooling to interact with PDBs, so this plugin aims to address this issue. - # 'platforms' specify installation methods for various platforms (os/arch) - # See all supported platforms below. + This Kubernetes plugin assists in debugging pod disruption budgets. + It helps in understanding the connection between PDBs and pods, and vice versa. + Additionally, you can run evictions to verify if the disruption budget is functioning as anticipated. platforms: - selector: matchLabels: os: darwin arch: arm64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Darwin_arm64.tar.gz" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Darwin_arm64.tar.gz" .TagName }} bin: kubectl-debug_pdb - selector: matchLabels: os: darwin arch: amd64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Darwin_x86_64.tar.gz" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Darwin_x86_64.tar.gz" .TagName }} bin: kubectl-debug_pdb - selector: matchLabels: os: linux arch: arm64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Linux_arm64.tar.gz" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Linux_arm64.tar.gz" .TagName }} bin: kubectl-debug_pdb - selector: matchLabels: os: linux arch: amd64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Linux_x86_64.tar.gz" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Linux_x86_64.tar.gz" .TagName }} bin: kubectl-debug_pdb - selector: matchLabels: os: windows arch: arm64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Windows_arm64.zip" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Windows_arm64.zip" .TagName }} bin: kubectl-debug_pdb.exe - selector: matchLabels: os: windows arch: amd64 - {{addURIAndSha "https://github.com/dhenkel92/kubectl-pdb/releases/download/{{ .TagName }}/kubectl-pdb_Windows_x86_64.zip" .TagName }} + {{addURIAndSha "https://github.com/dhenkel92/kubectl-debug-pdb/releases/download/{{ .TagName }}/kubectl-debug-pdb_Windows_x86_64.zip" .TagName }} bin: kubectl-debug_pdb.exe