stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

HELM Chart - Allow http proxy values to be supplied through values.yaml. #62

Closed mookkiah closed 4 years ago

mookkiah commented 4 years ago

The mirror script uses below command which takes http proxy host and port. But the HELM template is not providing option to supply these environment variables.

java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -jar -Dhttp.proxyHost="${proxy_host}" -Dhttp.proxyPort="${proxy_port}" /usr/local/bin/nist-data-mirror.jar /tmp/nvd

Please allow these values to be supplied through values.yaml. It would be good if we even add additional env variables if consumer needed it.

stevespringett commented 4 years ago

v1.5.1 released.