evryfs / helm-charts

OpenSourced Helm charts
Apache License 2.0
49 stars 75 forks source link

Feature/add internal ca #207

Open orionjsa opened 1 year ago

orionjsa commented 1 year ago

In response on request #195 , I open this pull request. The aim is to follow this doc : https://docs.dependencytrack.org/getting-started/internal-ca/ How it works : The internal certificate is stored in ConfigMap. At startup, 2 init-containers runs. One export the default truststore from Dependency-Track's image. The second sleeps until the exported trustore is available then amends it with the certificate in ConfigMap. Finally, amended strustore is available via shared volume for the api-server container.