Try It Out
In this example we will deploy MongoDB on a Kubernetes cluster using the Minimus MongoDB Advanced FIPS Helm chart. MongoDB will provide a highly available NoSQL document database with FIPS-compliant hardened images.
Step 1: Start Cluster
If you have a cluster to work with, skip this step. Otherwise, start a Minikube cluster. Deployment instructions
Step 2: Create Namespace
Create a namespace:
kubectl create ns mongodb-advanced-fips
Step 3: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-mongodb-advanced-fips oci://helm.mini.dev/mongodb-advanced-fips \
--version 19.1.14 \
-n mongodb-advanced-fips \
--wait
If you want to override the chart's defaults, go to the Values tab, save a copy locally with your changes. Deploy the chart with your overrides using -f values.yaml:
helm install my-mongodb-advanced-fips oci://helm.mini.dev/mongodb-advanced-fips \
--version 19.1.14 \
-f values.yaml \
-n mongodb-advanced-fips \
--wait
Step 4: Verify MongoDB Advanced FIPS is Running
Check that all MongoDB pods are running:
kubectl get pods -n mongodb-advanced-fips -l app.kubernetes.io/name=mongodb
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-mongodb-advanced-fips-mongodb-0 1/1 Running 0 2m
my-mongodb-advanced-fips-mongodb-1 1/1 Running 0 2m
my-mongodb-advanced-fips-mongodb-arbiter-0 1/1 Running 0 2m
Step 5: Test Database Connection
Retrieve the MongoDB root password:
kubectl get secret my-mongodb-advanced-fips-mongodb -n mongodb-advanced-fips \
-o jsonpath='{.data.mongodb-root-password}' | base64 -d
Forward the MongoDB port to your local machine:
kubectl port-forward svc/my-mongodb-advanced-fips-mongodb -n mongodb-advanced-fips 27017:27017
In a separate terminal, connect using mongosh and verify the database is working:
mongosh "mongodb://root:<password>@localhost:27017/admin"
Run a quick smoke test:
db.adminCommand("ping")
use smoke_test
db.createCollection("t")
db.t.drop()
db.dropDatabase()
Step 6: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-mongodb-advanced-fips -n mongodb-advanced-fips
kubectl delete namespace mongodb-advanced-fips
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.