2020-01-06 09:18:25 +00:00
|
|
|
---
|
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
|
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
|
|
|
|
archive:
|
|
|
|
format: tar.gz
|
2019-12-12 21:51:35 +00:00
|
|
|
files:
|
|
|
|
- "cfg/**/*"
|
2018-04-04 10:31:47 +00:00
|
|
|
nfpm:
|
2018-01-11 17:43:06 +00:00
|
|
|
vendor: Aqua Security
|
|
|
|
description: "The Kubernetes Bench for Security is a Go application that checks whether Kubernetes is deployed according to security best practices"
|
|
|
|
license: Apache-2.0
|
2018-04-04 13:57:28 +00:00
|
|
|
homepage: https://github.com/aquasecurity/kube-bench
|
2019-12-12 21:51:35 +00:00
|
|
|
files:
|
|
|
|
"cfg/**/*": "/etc/kube-bench/cfg"
|
2018-01-11 17:43:06 +00:00
|
|
|
formats:
|
|
|
|
- deb
|
|
|
|
- rpm
|