Skip to content

chore: add Dependency-Track v5 chart wrapper - #220

Open
ybelMekk wants to merge 3 commits into
mainfrom
chore/dependencytrack-v5-chart
Open

chore: add Dependency-Track v5 chart wrapper#220
ybelMekk wants to merge 3 commits into
mainfrom
chore/dependencytrack-v5-chart

Conversation

@ybelMekk

@ybelMekk ybelMekk commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add charts-v5 alongside the existing v4 chart as a wrapper around the official Dependency-Track v5 chart
  • retain NAIS Cloud SQL Auth Proxy and bootstrap Job configuration
  • map v5 OIDC, CORS, metrics, storage, and Feature/Fasit settings

Migration notes

  • this is scaffolding only; v4-to-v5 still requires an offline database migration and release reinstall
  • local ReadWriteOnce storage requires a single API-server replica; use RWX storage or S3 before scaling
  • bootstrap API compatibility must be validated against the selected v5 version before production cutover

Validation

  • helm dependency update charts-v5
  • helm lint --strict charts-v5 -f charts-v5/test-values.yaml ...
  • helm template dependencytrack-v5 charts-v5 -f charts-v5/test-values.yaml ...

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new charts-v5 Helm chart that wraps the official Dependency-Track v5 Helm chart while preserving NAIS-specific runtime needs (Cloud SQL Auth Proxy sidecar, bootstrap Job, and Fasit/Feature mappings).

Changes:

  • Introduces a new wrapper chart (charts-v5) with dependency on the official dependency-track chart (aliased as app).
  • Adds NAIS-specific templates for runtime ConfigMaps (OIDC/CORS/datasource + frontend env) and a post-install/upgrade bootstrap Job with Secrets.
  • Adds NAIS Feature mapping, test values for local rendering, and minimal chart docs/packaging files.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
charts-v5/values.yaml Default wrapper values including subchart passthrough (app.*), runtime env config, proxy sidecar config, and bootstrap config.
charts-v5/test-values.yaml Non-secret values used to render templates locally (fills required values).
charts-v5/templates/runtime-config.yaml Renders runtime ConfigMaps consumed via extraEnvFrom for API server and frontend.
charts-v5/templates/bootstrap.yaml Adds a Helm hook Job for bootstrap plus Secrets for credentials/users payload.
charts-v5/README.md Documents wrapper design, migration constraints, and validation steps.
charts-v5/Feature.yaml Exposes wrapper/subchart settings to NAIS Feature/Fasit configuration.
charts-v5/Chart.yaml Declares the wrapper chart and its dependency on official dependency-track chart.
charts-v5/Chart.lock Locks dependency versions/digests for reproducible installs.
charts-v5/.helmignore Excludes local/temporary files from chart packaging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread charts-v5/templates/runtime-config.yaml
Comment thread charts-v5/values.yaml
Comment thread charts-v5/values.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants