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

feat: add kubevious/cli #10113

Merged
merged 3 commits into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/kubevious/cli/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: kubevious/cli@v1.0.52
14 changes: 14 additions & 0 deletions pkgs/kubevious/cli/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
packages:
- type: github_release
repo_owner: kubevious
repo_name: cli
asset: kubevious-{{.OS}}-{{.Arch}}
format: raw
description: Kubevious CLI - Prevent Kubernetes disasters at the early stages
files:
- name: kubevious
src: "{{.Asset}}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If format is raw, files.src isn't needed.
files.src is used to detect a file in an archived file.
In case of raw format, aqua can detect a file without files.src.
https://aquaproj.github.io/docs/reference/registry-style-guide/#if-the-format-is-raw-filessrc-isnt-needed

Suggested change
src: "{{.Asset}}"

replacements:
amd64: x64
darwin: macos
windows: win
13 changes: 13 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.