Flashcards

Reset

Question set 0 (46)


1. What is the difference between config map and secret? (Differentiate the answers as with examples)

ANSWER

ConfigMaps can contain configuration variables, such as feature flags. A secret is information that must be encrypted, such as database credentials. Both are referenced similarly in a Deployment, as a volume, or as env vars.