2020-01-06 09:18:25 +00:00
|
|
|
---
|
2021-07-14 12:50:12 +00:00
|
|
|
project_name: kube-bench
|
2019-07-12 13:12:59 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2019-12-12 21:51:35 +00:00
|
|
|
- KUBEBENCH_CFG=/etc/kube-bench/cfg
|
2018-01-11 17:43:06 +00:00
|
|
|
builds:
|
|
|
|
- main: main.go
|
|
|
|
binary: kube-bench
|
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2020-06-23 17:02:31 +00:00
|
|
|
- arm
|
|
|
|
- arm64
|
2022-01-29 11:48:28 +00:00
|
|
|
- ppc64le
|
2020-06-23 17:02:31 +00:00
|
|
|
goarm:
|
|
|
|
- 6
|
|
|
|
- 7
|
2019-12-12 21:51:35 +00:00
|
|
|
ldflags:
|
2020-01-06 09:18:25 +00:00
|
|
|
- "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion={{.Version}}"
|
|
|
|
- "-X github.com/aquasecurity/kube-bench/cmd.cfgDir={{.Env.KUBEBENCH_CFG}}"
|
2018-01-11 17:43:06 +00:00
|
|
|
# Archive customization
|
2020-01-13 17:56:26 +00:00
|
|
|
archives:
|
|
|
|
- id: default
|
|
|
|
format: tar.gz
|
2020-06-23 17:02:31 +00:00
|
|
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
|
2020-01-13 17:56:26 +00:00
|
|
|
files:
|
|
|
|
- "cfg/**/*"
|
2021-02-11 10:56:49 +00:00
|
|
|
- "cfg/config.yaml"
|
2020-01-13 17:56:26 +00:00
|
|
|
nfpms:
|
|
|
|
-
|
|
|
|
vendor: Aqua Security
|
|
|
|
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
|
2021-07-14 12:50:12 +00:00
|
|
|
maintainer: Yoav Rotem <yoav.rotem@aquasec.com>
|
2020-01-13 17:56:26 +00:00
|
|
|
license: Apache-2.0
|
|
|
|
homepage: https://github.com/aquasecurity/kube-bench
|
2021-07-14 12:50:12 +00:00
|
|
|
file_name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}'
|
|
|
|
contents:
|
|
|
|
- src: "cfg/**/*"
|
|
|
|
dst: "/etc/kube-bench/cfg"
|
|
|
|
- src: "cfg/config.yaml"
|
|
|
|
dst: "/etc/kube-bench/cfg/config.yaml"
|
2020-01-13 17:56:26 +00:00
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|
2021-07-14 12:50:12 +00:00
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs'
|
|
|
|
- '^test'
|
|
|
|
- '^release'
|