diff --git a/helm/sbomreport-to-dependencytrack/templates/deployment.yaml b/helm/sbomreport-to-dependencytrack/templates/deployment.yaml index a3417e4..c8f6034 100644 --- a/helm/sbomreport-to-dependencytrack/templates/deployment.yaml +++ b/helm/sbomreport-to-dependencytrack/templates/deployment.yaml @@ -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 }} diff --git a/helm/sbomreport-to-dependencytrack/values.yaml b/helm/sbomreport-to-dependencytrack/values.yaml index 4129abf..3ba66f2 100644 --- a/helm/sbomreport-to-dependencytrack/values.yaml +++ b/helm/sbomreport-to-dependencytrack/values.yaml @@ -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