Kubernetes secrets store sensitive information like passwords and ssh keys. In this video, learn how to deploy a Kubernetes secret with Helm.
- [Woman] We've covered how to create a config map … in a Helm chart. … And now we're going to deploy a Kubernetes secret … using Helm. … Kubernetes secrets store sensitive information … like passwords and SSH keys. … And if you store this information under the data map, … that string data in the secrets manifest, … the data must be encoded with base 64. … In the templates directory, … let's create a file called secret.yamo. … I've got a secret manifest in the exercise files. … So let's copy and paste this. … This secret is called first secret, … and it will store a set of credentials a username … and password. … The username is admin. … And we'll use base 64 to encode this string … from our command line. … Let's copy the username. … Head to the command line and encoded … with the command echo-n. … Paste the username, pipe base64. … Your output may differ from mine, … but the encoded string will look something like this. … Let's paste that as the value in username. … The password is the string starting with 4W5 …
Skill Level Intermediate
1. Introduction and Installation
2. Install and Configure a Chart from Helm Hub
3. Deploy an Application Using Helm
Rollback a Helm release1m 58s
4. Advanced Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.