Skip to content

Commit fe33618

Browse files
J12934rfelber
authored andcommitted
Expose all scanner images consistently via helm values
1 parent 6a210a3 commit fe33618

File tree

20 files changed

+60
-12
lines changed

20 files changed

+60
-12
lines changed

scanners/amass/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Helm chart for the Amass security scanner that integrates with th
55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
77
version: latest
8-
appVersion: 3.10.4
8+
appVersion: "v3.10.4"
99
kubeVersion: ">=v1.11.0"
1010

1111
keywords:

scanners/amass/helm2.Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Helm chart for the Amass security scanner that integrates with th
55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
77
version: latest
8-
appVersion: 3.10.4
8+
appVersion: "v3.10.4"
99
kubeVersion: ">=v1.11.0"
1010

1111
keywords:

scanners/amass/templates/amass-scan-type.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
restartPolicy: OnFailure
1919
containers:
2020
- name: amass
21-
image: "caffix/amass:v{{ .Chart.AppVersion }}"
21+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2222
command:
2323
- "amass"
2424
- "enum"

scanners/amass/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
image:
2+
# image.repository -- Container Image to run the scan
3+
repository: caffix/amass
4+
# image.tag - defaults to the charts appVersion
5+
tag: null
6+
17
parserImage:
28
# parserImage.repository -- Parser image repository
39
repository: docker.io/scbexperimental/parser-amass

scanners/kube-hunter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Helm chart for the kube-hunter security scanner that integrates w
55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
77
version: latest
8-
appVersion: v0.3.0
8+
appVersion: "0.3.0"
99
kubeVersion: ">=v1.11.0"
1010

1111
keywords:

scanners/kube-hunter/helm2.Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A Helm chart for the kube-hunter security scanner that integrates w
55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
77
version: latest
8-
appVersion: v0.3.0
8+
appVersion: "0.3.0"
99
kubeVersion: ">=v1.11.0"
1010

1111
keywords:

scanners/kube-hunter/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
image:
2+
# image.repository -- Container Image to run the scan
3+
repository: docker.io/securecodebox/scanner-kube-hunter
4+
# image.tag -- defaults to the charts version
5+
tag: null
6+
17
parserImage:
28
# parserImage.repository -- Parser image repository
39
repository: docker.io/scbexperimental/parser-kube-hunter

scanners/nikto/templates/nikto-scan-type.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
restartPolicy: Never
1717
containers:
1818
- name: nikto
19-
image: securecodebox/scannner-nikto:latest
19+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2020
command:
2121
# Nikto Entrypoint Script to avoid problems nikto exiting with a non zero exit code
2222
# This would cause the kubernetes job to fail no matter what

scanners/nikto/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
image:
2+
# image.repository -- Container Image to run the scan
3+
repository: securecodebox/scannner-nikto
4+
# image.tag - defaults to the charts appVersion
5+
tag: null
6+
17
parserImage:
28
# parserImage.repository -- Parser image repository
39
repository: docker.io/scbexperimental/parser-nikto

scanners/nmap/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
image:
2+
# image.repository -- Container Image to run the scan
3+
repository: docker.io/securecodebox/scanner-nmap
4+
# image.tag - defaults to the charts version
5+
tag: null
6+
17
parserImage:
28
# parserImage.repository -- Parser image repository
39
repository: docker.io/scbexperimental/parser-nmap

0 commit comments

Comments
 (0)