Lesson 2.3

ConfigMaps and Secrets

Configuration belongs outside the image. Secrets look like ConfigMaps but need encryption at rest and tighter access control.

Duration
17m
Level
Advanced
Students
6.4k students

Overview

Configuration belongs outside the image. Secrets look like ConfigMaps but need encryption at rest and tighter access control.

In this lesson you will:

  • Inject configuration as environment variables or files
  • Keep secrets out of images and manifests
  • Roll configuration changes without rebuilding

Resources

Kubernetes documentation

The official reference for the tools used in this lesson.