Try It Out
In this example we will deploy PostgreSQL on a Kubernetes cluster using the Minimus PostgreSQL Advanced Helm chart. PostgreSQL will be configured with hardened security settings and production-grade defaults.
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 postgresql-advanced
Step 3 (optional): Save Values File Locally
If you want to override the chart's defaults, go to the Values tab, save a copy locally, and edit it. Skip this step to deploy with the chart's defaults.
Step 4: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-postgresql-advanced oci://helm.mini.dev/postgresql-advanced \
--version 18.6.10 \
-n postgresql-advanced \
--wait
If you customized values in Step 3, append -f values.yaml to layer your overrides on top of the chart's defaults:
helm install my-postgresql-advanced oci://helm.mini.dev/postgresql-advanced \
--version 18.6.10 \
-f values.yaml \
-n postgresql-advanced \
--wait
Step 5: Verify PostgreSQL Advanced is Running
To check that the pod was successfully created run:
kubectl get pods -n postgresql-advanced -l app.kubernetes.io/name=postgresql
You should see output similar to:
NAME READY STATUS RESTARTS AGE
my-postgresql-advanced-0 1/1 Running 0 2m
Step 6: Test Database Connection
Retrieve the PostgreSQL password:
export POSTGRES_PASSWORD=$(kubectl get secret my-postgresql-advanced -n postgresql-advanced -o jsonpath='{.data.postgres-password}' | base64 -d)
Forward the PostgreSQL port to your local machine:
kubectl port-forward svc/my-postgresql-advanced 5432:5432 -n postgresql-advanced
In another terminal, connect using psql:
PGPASSWORD=$POSTGRES_PASSWORD psql -h localhost -p 5432 -U postgres -c "SELECT 1;"
You should see a result confirming the connection is working.
Step 7: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-postgresql-advanced -n postgresql-advanced
kubectl delete namespace postgresql-advanced
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.