DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Encrypting Kubernetes Secrets With Sealed Secrets

5 years ago medium.com
Encrypting Kubernetes Secrets With Sealed Secrets

Summary: This is a summary of an article originally published by the source. Read the full original article here →

It allows teams to version and manage environment configuration and infrastructure through declarative code. While Kubernetes allows teams to manage their container workloads using resource manifests, storing Kubernetes Secrets in a Git repository has always been a challenge.

Once you generate a SealedSecret using kubeseal for a particular namespace, you can’t use the SealedSecret in another namespace.

There are three scopes you can create your SealedSecrets with: Apart from the name and namespace, you can rename the secret keys without losing any decryption capabilities.

Now let’s use the Secret in a busybox pod and see if we can retrieve it in the cluster.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com