Skip to content

Commit

Permalink
fix: update .krew manifest to match new plugin name/functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhenkel92 committed Dec 7, 2023
1 parent 47ff884 commit 24e422f
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 24e422f

Please sign in to comment.