diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e2f8a9ac6..fd566a9df 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.krew.yaml b/.krew.yaml new file mode 100644 index 000000000..f83695bcb --- /dev/null +++ b/.krew.yaml @@ -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