Categories
General Kubernetes

Kubernetes: Sealed Secrets

Why use Sealed Secrets? Sealed Secrets provides a mechanism to encrypt a Secret object so that it is safe to store in a private or public repository. https://github.com/bitnami-labs/sealed-secrets How it works Sealed Secrets comprises the following components A controller deployed to cluster A CLI tool called kubeseal A custom resource definition (CRD) called SealedSecret Upon startup, […]

Categories
Kubernetes

Kubernetes: Can you keep a secret?

Can you keep a Secret? Kubernetes can. https://kubernetes.io/docs/concepts/configuration/secret/ There are a few ways to create secrets within Kubernetes. What we will learn Default Service Account and Secret Create from a literal command Create from a file Create from a folder Create from a YAML file Copy a secret from one namespace to another Encoding and […]