k8wiz
Kustomize
Hard
Generation

A configMapGenerator entry has files: [config/app.properties]. Which key holds the file's content?

Select your answer:

Show answer and explanation

Answer: app.properties, the file's name

Explanation

Each file becomes one key named after the file. Write files: [settings=config/app.properties] to choose the key yourself, or use envs to turn each KEY=value line of a file into its own key.