Interview Prep/CI/CD/Pipeline Design and Architecture

How do you handle environment-specific configuration without rebuilding?

BeginnerProductionPipeline Design and Architecture
Answer

Follow the twelve-factor rule: config in the environment. The image is identical everywhere; environment differences come from Helm values files, Kustomize overlays, ConfigMaps, and secrets from a secret manager (External Secrets Operator, SSM/Parameter Store). Never bake URLs or credentials into the image. Keep per-environment values in the config repo, reviewed like code.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Pipeline Design and Architecture