1. Transforming .env to Kubernetes ConfigMap
DevOps EngineerBackground
A backend service uses a local .env file containing database settings, feature flags, and an unresolved vault secret placeholder.
Problem
The team needs a Kubernetes ConfigMap manifest that preserves the template placeholder ${VAULT_SECRET} without manual YAML authoring.
How to use
Paste the .env content into the source input, set Target Format to 'Kubernetes ConfigMap manifest', enter 'my-app' as the manifest name, and enable the round-trip diff.
DATABASE_HOST=localhost
DATABASE_PORT=5432
FEATURE_FLAGS="auth, beta"
API_KEY="sk-${VAULT_SECRET}"
DEBUG=trueOutcome
Generates a valid Kubernetes ConfigMap manifest using stringData, keeping ${VAULT_SECRET} intact with zero dropped keys reported by the diff.