A parks reservation API needs different feature flags and log levels in test versus production on OKE. Where should those non-secret settings live so retargeting an environment does not require rebuilding the OCIR image?
Select an answer to reveal the explanation.
Short Explanation
Feature flags and log levels are settings, not passwords—park them in a ConfigMap and inject them. Baking them into the OCIR image means a rebuild just to point at another environment. Secrets are for credentials.
Full Explanation
ConfigMaps hold non-sensitive configuration such as endpoints, feature flags, and log levels, injected as env vars or files. Embedding those values in the image forces rebuilds to retarget environments—the classic config anti-pattern. Secrets are for credentials; binaries with hard-coded literals share the same rigidity problem.