Skip to content

Commit

Permalink
chore: Automate krew plugin updates with krew-release-bot (aquasecuri…
Browse files Browse the repository at this point in the history
…ty#72)

Resolves: aquasecurity#58

Co-authored-by: Carol <krol3@users.noreply.github.com>
Co-authored-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
3 people authored Jun 25, 2020
1 parent 898d422 commit 6761c67
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version for plugin 'starboard' in krew-index
uses: rajatjindal/krew-release-bot@v0.0.38
53 changes: 53 additions & 0 deletions .krew.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: starboard
spec:
version: {{ .TagName }}
homepage: https://github.com/aquasecurity/starboard
shortDescription: >-
Toolkit for finding risks in kubernetes resources
description: |+2
Starboard enables results from vulnerability scanners, workload auditors,
and configuration benchmark tests to be incorporated into Kubernetes CRDs
(Custom Resource Definitions) and from there, accessed through the
Kubernetes API.
Users familiar with kubectl or with a dashboard tool like Octant can find
security risk information at their fingertips.
caveats: |
The plugin requires access to create Jobs and CustomResources.
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/aquasecurity/starboard/releases/download/{{ .TagName }}/starboard_darwin_x86_64.tar.gz" .TagName }}
files:
- from: starboard
to: .
- from: LICENSE
to: .
bin: starboard
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/aquasecurity/starboard/releases/download/{{ .TagName }}/starboard_linux_x86_64.tar.gz" .TagName }}
files:
- from: starboard
to: .
- from: LICENSE
to: .
bin: starboard
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/aquasecurity/starboard/releases/download/{{ .TagName }}/starboard_windows_x86_64.zip" .TagName }}
files:
- from: starboard.exe
to: .
- from: LICENSE
to: .
bin: starboard.exe

0 comments on commit 6761c67

Please sign in to comment.