# An env file used by a configMapGenerator has the line MODE="fast". What value does the generated ConfigMap hold for MODE?

Kustomize, Hard (Expert), Troubleshooting. https://k8wiz.com/uquiz/an-env-file-used-by-a-configmapgenerator-has-the-line-modefast-what-value-does-the-generated-configmap-hold-for-mode

- A. fast, because Kustomize strips the matching quotes
- B. fast, because YAML parsing removes the quotes
- C. None, the build fails since env values can't be quoted
- D. "fast", with the quote characters kept in the value

**Answer:** "fast", with the quote characters kept in the value

**Explanation:** Kustomize splits each env file line at the first = and keeps the rest exactly as written, quotes included. The literals field is different: it strips one pair of matching surrounding quotes, so MODE="fast" under literals gives fast. The env file is not parsed as YAML.
