Skip to content

Commit

Permalink
ci: generate krew template file from goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <[email protected]>
  • Loading branch information
Abhinandan-Purkait committed Mar 22, 2024
1 parent bae05f2 commit 0f59bfd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
with:
krew_template_file: dist/krew/openebs.yaml
krew_template_file: dist/krew/kubectl-openebs.yaml
14 changes: 14 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,17 @@ nfpms:
license: Apache 2.0
formats:
- deb

krews:
- skip_upload: true
homepage: https://github.com/openebs/openebsctl
short_description: View and debug OpenEBS storage resources
description: |
The openebs plugin provides a simplified interface to view
and debug different OpenEBS volumes and related storage resources.
caveats: |
* This plugin works with newer OpenEBS releases, where volumes are
provisioned by CSI.
* For resources that are not in default namespace, you must specify
-n/--namespace explicitly (the current namespace setting is not
yet used).
48 changes: 0 additions & 48 deletions scripts/openebs.yaml

This file was deleted.

0 comments on commit 0f59bfd

Please sign in to comment.