A fork of the NotifyBC helm/ directory used by the GDX DES team to deploy instances of NotifyBC to OpenShift.
- Update the
versionproperty insrc/Chart.yamlto the desired version number. - From the
src/directory, run the commandhelm package ./to create a.tgzpackage for the new version. - Move the new
.tgzfile to thedocs/directory (mv notify-bc-[version].tgz ../docs). - Update
docs/index.yamlto list the new package (helm repo index ../docs).
- In this example we will be deploying to
dev, so a file namedvalues.dev.local.yamlshould exist and contain values specific to thedevinstance. - Run
helm install dev -f platform-specific/openshift.yaml -f values.yaml -f values.dev.local.yaml ./- If a deployment already exists, run
helm uninstall devto remove it, then repeat the command above.
- If a deployment already exists, run
- To deploy to
test, replacedevwithtestin the above example.
# Step 1 - Go to src/ directory of repo
cd des-notifybc/src
# Step 2 - Login to OpenShift oc command line
oc login --token=secret-token --server=https://myopnshift.com
# Step 3 - Choose the tools folder
oc project 12345-tools
# step 4 - Apply deployment file
oc apply -f deployments/openshift/notify-build.yamlMongoDB was upgraded from version 4.4.4 to 7.0.2.
The following values were changed:
mongodb.auth.usernamewas deprecated, replaced bymongodb.auth.usernamesmongodb.auth.passwordwas deprecated, replaced bymongodb.auth.passwordsmongodb.auth.databasewas deprecated, replaced bymongodb.auth.databases
Databases that were created on MongoDB 4.4.4 are not compatible with 7.0.2.
Refer to the MongoDB documentation for migrating a database to MongoDB 7: https://www.mongodb.com/docs/v7.0/release-notes/7.0-upgrade-standalone/
Redis was upgraded from version 6.2.4 to 7.2.2. No breaking changes.