File tree Expand file tree Collapse file tree
scanners/typo3scan/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2021 iteratec GmbH
2+ #
3+ # SPDX-License-Identifier: Apache-2.0
14apiVersion : " execution.securecodebox.io/v1"
25kind : ScanType
36metadata :
47 name : " typo3scan"
58spec :
69 extractResults :
710 type : typo3scan-json
8- location : " /home/securecodebox/typo3scan-results .json"
11+ location : " /home/securecodebox/typo3scan.json"
912 jobTemplate :
1013 spec :
11- ttlSecondsAfterFinished : 10
14+ {{- if .Values.scanner.ttlSecondsAfterFinished }}
15+ ttlSecondsAfterFinished : {{ .Values.scanner.ttlSecondsAfterFinished }}
16+ {{- end }}
17+ backoffLimit : {{ .Values.scanner.backoffLimit }}
1218 template :
1319 spec :
1420 restartPolicy : Never
1521 containers :
1622 - name : typo3scan
1723 image : " {{ .Values.scanner.image.repository }}:{{ .Values.scanner.image.tag | default .Chart.AppVersion }}"
1824 command :
19- - " sh "
20- - " /home/typo3scan/Typo3Scan/wrapper.sh "
25+ - " python3 "
26+ - " /home/typo3scan/typo3scan.py "
2127 - " --no-interaction"
22- - " --json"
28+ - " --json"
29+ resources :
30+ {{- toYaml .Values.scanner.resources | nindent 16 }}
31+ securityContext :
32+ {{- toYaml .Values.scanner.securityContext | nindent 16 }}
33+ env :
34+ {{- toYaml .Values.scanner.env | nindent 16 }}
35+ volumeMounts :
36+ {{- toYaml .Values.scanner.extraVolumeMounts | nindent 16 }}
37+ {{- if .Values.scanner.extraContainers }}
38+ {{- toYaml .Values.scanner.extraContainers | nindent 12 }}
39+ {{- end }}
40+ volumes :
41+ {{- toYaml .Values.scanner.extraVolumes | nindent 12 }}
You can’t perform that action at this time.
0 commit comments