-
Bug
-
Resolution: Done-Errata
-
Critical
-
None
-
False
-
-
False
-
-
-
Important
See attached example - in this case the TRUSTSTORE_PASSWORD environment variable is populated from a secret, and added to JAVA_OPTS_APPEND:
"-Djavax.net.ssl.trustStorePassword=$(TRUSTSTORE_PASSWORD)
The password is visible in the application logs during pod start:
Starting the Java application using /opt/jboss/container/java/run/run-java.sh ... INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -Djavax.net.ssl.trustStorePassword=supersecretpassword -cp "." -jar /deployments/csb-app-1.0-SNAPSHOT.jar
- links to
-
RHBA-2024:132720 Updated RHEL-9-based OpenJDK container images
There are no Sub-Tasks for this issue.