Skip to content

Add support for mongo certs, and mongo cert generation image#1154

Open
devinleighsmith wants to merge 2 commits into
masterfrom
mongo-tls
Open

Add support for mongo certs, and mongo cert generation image#1154
devinleighsmith wants to merge 2 commits into
masterfrom
mongo-tls

Conversation

@devinleighsmith

Copy link
Copy Markdown
Contributor

Pull Request for JIRA Ticket: ----841/842----

Issue ticket number and link

JASPER-842
JASPER-841

Description

provides tf changes necessary to store/pull self-signed emerald certs
creates new image with associated script to generate ssh certs
updates api to pull certs from secrets, and use during mongo connection

See:
https://wiki.justice.gov.bc.ca/wiki/spaces/JASPER/pages/508690464/Database+Migration+LZA+to+Emerald
and:
https://github.com/bcgov-c/tenant-gitops-e4161f/pull/11

for context

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested this by deploying these changes into dev, migrating the db, and connecting the aws api to the emerald db.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

Documentation References

https://wiki.justice.gov.bc.ca/wiki/spaces/JASPER/pages/508690464/Database+Migration+LZA+to+Emerald

Comment thread docker/openshift/Dockerfile.generate-mongo-tls Fixed
}

use_existing_mongo_tls_secret = true
existing_mongo_tls_secret_name = "external/jasper-mongo-tls-lz-dev"

@ronaldo-macapobre ronaldo-macapobre Jun 22, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would there be a scenario that the secret name format (external/<app>-mongo-tls-<env>) be different from the usual pattern?

@devinleighsmith devinleighsmith self-assigned this Jun 24, 2026
@devinleighsmith devinleighsmith added the enhancement New feature or request label Jun 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants