Sources: CD's devops wiki 03-kubernetes/08-lab-webapp-mongodb.md (minikube, 4 YAML files: ConfigMap, Secret, Mongo, WebApp), cross-checked against kubernetes.io, the Flare/Security Affairs research on exposed MongoDB (2026-02-02), GitGuardian's State of Secrets Sprawl 2026 and MongoDB Atlas pricing on 2026-10-28. Lab names only; screens are drawings.
An intern at Contoso follows the classic tutorial: a Node.js web app and a MongoDB, four YAML files, minikube start , it works. Two shortcuts make it into the real cluster a month later:
The MongoDB Service is NodePort , "so I can connect Compass from my laptop".
The Secret's base64 values are committed to the repo with the manifests, because the tutorial showed them that way.
Ten days after the cluster gets a public node pool, the orders database contains one collection, README , with one document: "Your data is backed up. Send 0.005 BTC to restore it." Nobody exploited anything.…