Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit ecf959b

Browse files
committed
Use correct Helm chart version in scanner / parser images
1 parent 7d9426b commit ecf959b

30 files changed

+58
-57
lines changed

scanners/amass/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for the Amass security scanner that integrates with th
44

55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
7-
version: 0.1.0
7+
version: latest
88
appVersion: 3.10.3
99

1010
keywords:

scanners/amass/templates/amass-parse-definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: "amass-jsonl"
55
spec:
66
handlesResultsType: amass-jsonl
7-
image: "{{ .Values.parserImage.registry }}/{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag }}"
7+
image: "{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag | default .Chart.Version }}"

scanners/amass/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parserImage:
2-
registry: docker.io
3-
repository: scbexperimental/parser-amass
4-
tag: latest
2+
repository: docker.io/scbexperimental/parser-amass
3+
# parserImage.tag - defaults to the charts version
4+
tag: null
55

66
scannerJob:
77
resources: {}

scanners/kube-hunter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: A Helm chart for the kube-hunter security scanner that integrates w
44

55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
7-
version: 0.1.0
8-
appVersion: 0.1.0
7+
version: latest
8+
appVersion: v0.3.0
99

1010
keywords:
1111
- security

scanners/kube-hunter/templates/kube-hunter-parse-definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: "kube-hunter-json"
55
spec:
66
handlesResultsType: kube-hunter-json
7-
image: "{{ .Values.parserImage.registry }}/{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag }}"
7+
image: "{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag | default .Chart.Version }}"

scanners/kube-hunter/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parserImage:
2-
registry: docker.io
3-
repository: scbexperimental/parser-kube-hunter
4-
tag: latest
2+
repository: docker.io/scbexperimental/parser-kube-hunter
3+
# parserImage.tag - defaults to the charts version
4+
tag: null
55

66
scannerJob:
77
resources: {}

scanners/nikto/Chart.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ description: A Helm chart for the Nikto security scanner that integrates with th
44

55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
7-
version: 0.1.0
7+
version: latest
8+
# appVersion - Nikto doesn't really version its releases
89
appVersion: latest
910

1011
keywords:

scanners/nikto/templates/nikto-parse-definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: "nikto-json"
55
spec:
66
handlesResultsType: nikto-json
7-
image: "{{ .Values.parserImage.registry }}/{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag }}"
7+
image: "{{ .Values.parserImage.repository }}:{{ .Values.parserImage.tag | default .Chart.Version }}"

scanners/nikto/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parserImage:
2-
registry: docker.io
3-
repository: scbexperimental/parser-nikto
4-
tag: latest
2+
repository: docker.io/scbexperimental/parser-nikto
3+
# parserImage.tag - defaults to the charts version
4+
tag: null
55

66
scannerJob:
77
resources: {}

scanners/nmap/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for the NMAP security Scanner that integrates with the
44

55
type: application
66
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
7-
version: 0.1.0
7+
version: latest
88
appVersion: 7.80-r2
99

1010
keywords:

0 commit comments

Comments
 (0)