Skip to main content

Exposing Data to Containers

There are two main ways to do this: config maps and secrets.

Secrets

Secrets are encrypted key-value pairs. They're used to share passwords, API keys, and other things that need to be protected to containers in pods.

Config Maps

Config maps are stored in plaintext, and usually are used to share configuration files and similar things with containers in pods.