sealed-secrets

by joaquinito2051

Helm chartv1.0.2App 0.7.0

A Helm chart for Sealed Secrets

About this chart

Sealed Secrets

This chart contains the resources to use sealed-secrets.

Prerequisites

  • Kubernetes >= 1.9

Installing the Chart

To install the chart with the release name my-release:

$ helm install --namespace kube-system --name my-release <helm-repo>/sealed-secrets

$ helm install --namespace kube-system --name my-release stable/sealed-secrets The command deploys a controller and CRD for sealed secrets on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete [--purge] my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

ParameterDescriptionDefault
rbac.createtrue if rbac resources should be createdtrue
serviceAccount.createWhether to create a service account or nottrue
serviceAccount.nameThe name of the service account to create or use"sealed-secrets-controller"
secretNameThe name of the TLS secret containing the key used to encrypt secrets"sealed-secrets-key"
image.tagThe Sealed Secrets image tagv0.7.0
image.pullPolicyThe image pull policy for the deploymentIfNotPresent
image.repositoryThe repository to get the controller image fromquay.io/bitnami/sealed-secrets-controller
resourcesCPU/Memory resource requests/limits{}
crd.createtrue if crd resources should be createdtrue
crd.keeptrue if the sealed secret CRD should be kept when the chart is deletedtrue
  • In the case that serviceAccount.create is false and rbac.create is true it is expected for a service account with the name serviceAccount.name to exist in the same namespace as this chart before installation.
  • If serviceAccount.create is true there cannot be an existing service account with the name serviceAccount.name.
  • If a secret with name secretName does not exist in the same namespace as this chart, then on install one will be created. If a secret already exists with this name the keys inside will be used.

Deploy sealed-secrets with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sealed-secrets on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsealed-secrets is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply