Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 7: ConfigMaps and Secrets

⏱️ Total chapter time: ~45 min (20 min reading + 25 min lab)

After this chapter, you will be able to: Externalize application configuration using ConfigMaps, manage sensitive data with Secrets, mount both as environment variables or files, and understand the security implications.

What’s Inside

SectionTopicTime
7.1ConfigMaps — Externalizing Configuration~5 min
7.2Secrets — Handling Sensitive Data~6 min
7.3Environment Variables vs Volume Mounts~5 min
7.4Immutable ConfigMaps and Secret Rotation~4 min
7.5🔬 Lab: Configure a 12-Factor App~25 min

Prerequisites

  • Completed Chapter 3 (Pods)
  • minikube status shows Running