ConfigMaps and Secrets

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

Lesson 2.316m 54sAdvanced6.4k students

Chapters

16:54
  1. 0:00Intro
  2. 0:13Configuration Files usages in pods
  3. 1:13ConfigMap and Secret creating individual values (key-value pairs) for env variables
  4. 2:40ConfigMap and Secret creating files for mounting them into the pod
  5. 14:44Summary

What this lesson covers

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

This lesson sits in Kubernetes Core Objects, part of DevOps with Docker and Kubernetes. It assumes what came before it and leads directly into the next lesson in the module.

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