DependencyTrack / DependencyTrack/dependency-track

Provide environment variable for alpine.application.properties

Open
#832 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

I'm currently working on a helm-chart which is able to generate a dynamic appliaction.properties file as a secret configMap.
This is way more convinient than using environment variables to configure everything in the container.

However currently there is no easy way to configure -Dalpine.application.properties=/config/application.properties for the docker container.

As a workaround im currently using this approach:

```yaml
env:
- name: JAVA_OPTIONS
value: -XX:MaxRAMPercentage=90.0 -Dalpine.application.properties=/config/application.properties
```
The current state of the helm chart can be found here:
https://github.com/novumrgi/helm/tree/master/charts/dependency-track

Which will hopefully be integrated into https://github.com/evryfs/helm-charts once I've finalized the chart.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.