From 319ce3b0308f68601ad3a03117fa839d7e2edcef Mon Sep 17 00:00:00 2001 From: rumstead <37445536+rumstead@users.noreply.github.com> Date: Wed, 24 Apr 2024 08:34:35 -0400 Subject: [PATCH] fix(krew): updating krew.yaml format to match older versions (#35) Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com> --- .krew.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.krew.yaml b/.krew.yaml index cdcc0a3..48dc9e7 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -4,39 +4,39 @@ metadata: name: safe spec: version: "{{ .TagName }}" + homepage: https://github.com/rumstead/kubectl-safe + shortDescription: Prompts before running edit commands + description: | + This plugin allows users to confirm when they get prompted + on certain kubectl commands. platforms: - selector: matchLabels: os: darwin arch: amd64 - {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}//kubectl-safe_{{ .TagName }}_darwin_amd64.tar.gz" .TagName | indent 6 }} + {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}/kubectl-safe_{{ .TagName }}_darwin_amd64.tar.gz" .TagName | indent 6 }} bin: "./kubectl-safe" - selector: matchLabels: os: darwin arch: arm64 - {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}//kubectl-safe_{{ .TagName }}_darwin_arm64.tar.gz" .TagName | indent 6}} + {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}/kubectl-safe_{{ .TagName }}_darwin_arm64.tar.gz" .TagName | indent 6}} bin: "./kubectl-safe" - selector: matchLabels: os: linux arch: amd64 - {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}//kubectl-safe_{{ .TagName }}_linux_amd64.tar.gz" .TagName | indent 6}} + {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}/kubectl-safe_{{ .TagName }}_linux_amd64.tar.gz" .TagName | indent 6}} bin: "./kubectl-safe" - selector: matchLabels: os: linux arch: arm64 - {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}//kubectl-safe_{{ .TagName }}_linux_arm64.tar.gz" .TagName | indent 6}} + {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}/kubectl-safe_{{ .TagName }}_linux_arm64.tar.gz" .TagName | indent 6}} bin: "./kubectl-safe" - selector: matchLabels: os: windows arch: amd64 - {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}//kubectl-safe_{{ .TagName }}_windows_amd64.tar.gz" .TagName | indent 6}} + {{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/download/{{ .TagName }}/kubectl-safe_{{ .TagName }}_windows_amd64.tar.gz" .TagName | indent 6}} bin: "./kubectl-safe.exe" - homepage: https://github.com/rumstead/kubectl-safe - shortDescription: Prompts before running edit commands - description: | - This plugin allows users to confirm when they get prompted - on certain kubectl commands.