Kustomize
Easy
Generation
Which field generates a ConfigMap from files or literal values?
Select your answer:
Show answer and explanation
Answer: configMapGenerator
Explanation
configMapGenerator builds a ConfigMap from files, env files or literals, and secretGenerator does the same for Secrets. generatorOptions changes settings for every generated object, such as labels or the name suffix.
More easy Kustomize questions
- Why does a ConfigMap generated by Kustomize get a name like app-config-5g2m8k7h?
- Which command builds a kustomization with the standalone Kustomize CLI?
- What does commonAnnotations do?
- Which field is the current way to patch resources in Kustomize v5?
- Which command writes a kustomization.yaml that lists the YAML files in the current directory?
- What does kubectl delete -k on an overlay remove?