Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(krew): updating krew.yaml format to match older versions #35

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Loading