Skip to content

Commit

Permalink
Fix/krew (#34)
Browse files Browse the repository at this point in the history
* fix(krew): update krew action

Signed-off-by: rumstead <[email protected]>

* fix(krew): update krew action

Signed-off-by: rumstead <[email protected]>

---------

Signed-off-by: rumstead <[email protected]>
  • Loading branch information
rumstead authored Apr 19, 2024
1 parent ec08675 commit fefe862
Showing 1 changed file with 32 additions and 12 deletions.
44 changes: 32 additions & 12 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,40 @@ kind: Plugin
metadata:
name: safe
spec:
version: {{ .TagName }}
version: "{{ .TagName }}"
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 }}
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}}
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}}
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}}
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}}
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.
platforms:
- selector:
matchExpressions:
- key: os
operator: In
values:
- darwin
- linux
- windows
{{addURIAndSha "https://github.com/rumstead/kubectl-safe/releases/{{ .TagName }}.tar.gz" .TagName }}
bin: kubectl-safe

0 comments on commit fefe862

Please sign in to comment.