Set ConfigMap Environment Variables in a Pod
Scenario
Create a ConfigMap named app-config with:
APP_MODE=productionAPP_VERSION=1.0
Run a Pod named app-pod using image public.ecr.aws/nginx/nginx:stable-alpine
and inject the ConfigMap values as environment variables.
🧪 Test Case:
Level up your Server Side game — Join 20,000 engineers who receive insightful learning materials straight to their inbox