Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
3.38.0
-
0.5
-
NXRM Sentinels Sprint 37, NXRM Sentinels Sprint 38
-
2
-
non-concept
-
2
Description
ISSUE:
Following the example yamls in https://help.sonatype.com/repomanager3/planning-your-implementation/resiliency-and-high-availability/single-node-cloud-resilient-deployment-example-using-azure, the Pod fails to connect to the database with "Caused by: java.net.UnknownHostException: ${DB_HOST}"
CAUSE:
- Above document uses the environment variable DB_HOST in multiple places, but this is not defined under spec.containers.env.
- Example uses "-Dnexus.datastore.nexus.username=${DB_USER}@db_server_name" in multiple places, but I think "db_server_name" should be probably "${DB_HOST}"?