Skip to content

Commit

Permalink
Merge pull request #10 from takumakume/add-timeout-helm
Browse files Browse the repository at this point in the history
Add timeout in helm
  • Loading branch information
takumakume authored Dec 6, 2023
2 parents 678d425 + c621dcc commit 708adc4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helm/sbomreport-to-dependencytrack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ spec:
value: {{ .Values.config.projectVersion | quote }}
- name: DT_PROJECT_TAGS
value: {{ .Values.config.projectTags | quote }}
{{- with .Values.config.dtrackClientTimeout }}
- name: DT_DTRACK_CLIENT_TIMEOUT
value: {{ . | quote }}
{{- end }}
{{- with .Values.config.sbomUploadTimeoutSec }}
- name: DT_SBOM_UPLOAD_TIMEOUT_SEC
value: {{ . | quote }}
{{- end }}
{{- with .Values.config.sbomUploadCheckIntervalSec }}
- name: DT_SBOM_UPLOAD_CHECK_INTERVAL_SEC
value: {{ . | quote }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
9 changes: 9 additions & 0 deletions helm/sbomreport-to-dependencytrack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ config:
# Dependency Track project tag template (comma separated)
projectTags: ""

# Dependency Track client timeout seconds
dtrackClientTimeout:

# Seconds to timeout waiting for completion of SBOM upload of Dependency Track
sbomUploadTimeoutSec:

# Interval seconds to check for completion of SBOM upload of Dependency Track
sbomUploadCheckIntervalSec:

image:
repository: docker.io/takumakume/sbomreport-to-dependencytrack
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 708adc4

Please sign in to comment.