Skip to content

Commit

Permalink
chore(reps): upgrade kube-bench from v0.6.3 to 0.6.5 (aquasecurity#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavrotems authored Oct 28, 2021
1 parent 204d5df commit 5794ab3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ trivy:
# serverCustomHeaders: "foo=bar"

kubeBench:
imageRef: docker.io/aquasec/kube-bench:0.6.3
imageRef: docker.io/aquasec/kube-bench:v0.6.5

polaris:
imageRef: quay.io/fairwinds/polaris:4.2
Expand Down
2 changes: 1 addition & 1 deletion deploy/static/03-starboard-operator.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
data:
vulnerabilityReports.scanner: Trivy
configAuditReports.scanner: Polaris
kube-bench.imageRef: docker.io/aquasec/kube-bench:0.6.3
kube-bench.imageRef: docker.io/aquasec/kube-bench:v0.6.5
---
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ configuration settings for common use cases. For example, switch Trivy from
| `configAuditReports.scanner` | `Polaris` | The name of the plugin that generates config audit reports. Either `Polaris` or `Conftest`. |
| `scanJob.tolerations` | N/A | JSON representation of the [tolerations] to be applied to the scanner pods so that they can run on nodes with matching taints. Example: `'[{"key":"key1", "operator":"Equal", "value":"value1", "effect":"NoSchedule"}]'` |
| `scanJob.annotations` | N/A | One-line comma-separated representation of the annotations which the user wants the scanner pods to be annotated with. Example: `foo=bar,env=stage` will annotate the scanner pods with the annotations `foo: bar` and `env: stage` |
| `kube-bench.imageRef` | `docker.io/aquasec/kube-bench:0.6.3` | kube-bench image reference |
| `kube-bench.imageRef` | `docker.io/aquasec/kube-bench:v0.6.5` | kube-bench image reference |
| `kube-hunter.imageRef` | `docker.io/aquasec/kube-hunter:0.6.3` | kube-hunter image reference |
| `kube-hunter.quick` | `"false"` | Whether to use kube-hunter's "quick" scanning mode (subnet 24). Set to `"true"` to enable. |

Expand Down
2 changes: 1 addition & 1 deletion itest/starboard/starboard_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ var _ = Describe("Starboard CLI", func() {
"Scanner": Equal(v1alpha1.Scanner{
Name: "kube-bench",
Vendor: "Aqua Security",
Version: "0.6.3",
Version: "v0.6.5",
}),
}),
}))
Expand Down
4 changes: 2 additions & 2 deletions pkg/kubebench/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (

func TestKubeBenchPlugin_GetScanJobSpec(t *testing.T) {
config := starboard.ConfigData{
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:0.6.3",
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:v0.6.5",
}
node := corev1.Node{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -96,7 +96,7 @@ func TestKubeBenchPlugin_GetScanJobSpec(t *testing.T) {
Containers: []corev1.Container{
{
Name: "kube-bench",
Image: "docker.io/aquasec/kube-bench:0.6.3",
Image: "docker.io/aquasec/kube-bench:v0.6.5",
ImagePullPolicy: corev1.PullIfNotPresent,
TerminationMessagePolicy: corev1.TerminationMessageFallbackToLogsOnError,
Command: []string{"sh"},
Expand Down
2 changes: 1 addition & 1 deletion pkg/starboard/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func GetDefaultConfig() ConfigData {
keyVulnerabilityReportsScanner: string(Trivy),
keyConfigAuditReportsScanner: string(Polaris),

"kube-bench.imageRef": "docker.io/aquasec/kube-bench:0.6.3",
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:v0.6.5",
"kube-hunter.imageRef": "docker.io/aquasec/kube-hunter:0.6.3",
"kube-hunter.quick": "false",
}
Expand Down

0 comments on commit 5794ab3

Please sign in to comment.