Published On Premiered Mar 15, 2021
Everything you need to know to get started using Kubernetes (k8s) secrets to pass sensitive information into your application containers!
I cover what they are, how to create them, how to consume them, and some potential "gotchas".
---
I created this quick video because I joined @eddiejaoude for a live stream ( • Deploy Docker to Kubernetes on Digita... ) and we needed to pass a secret token to the discord bot we were deploying!
---
Join the Community:
💬 Discord: / discord
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter: / sidpalas
👨💼 LinkedIn: / sid-palas
🌐 Website: https://devopsdirective.com
---
Timestamps:
00:00 - Intro
00:25 - What are kubernetes secrets
00:46 - Types of kubernetes secrets
01:08 - Creating secret with yaml manifest
01:37 - Base64 encoding
02:07 - Kubectl create secret
02:46 - Consuming Secrets
02:54 - Environment variable
03:36 - Mounted volume
04:21 - Potential gotchas
05:10 - Suggested follow up
---
Community size at time of posting:
- Subscribers: 9541
- Channel Views: 224142