sealed-secrets
Sealed Secrets are "one-way" encrypted K8s Secrets that can be created by anyone, but can only be decrypted by the controller running in the target cluster recovering the original object.
About this chart
Sealed Secrets packaged by Bitnami
Sealed Secrets are "one-way" encrypted K8s Secrets that can be created by anyone, but can only be decrypted by the controller running in the target cluster recovering the original object.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/sealed-secrets
Introduction
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
This chart bootstraps a Sealed Secret controller Deployment in Kubernetes using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.16+
- Helm 3.1.0
Installing the Chart
To install the chart with the release name my-release:
helm install my-release my-repo/sealed-secrets
The command deploys the Sealed Secrets controller on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
Sealed Secrets Parameters
| Name | Description | Value |
|---|---|---|
image.registry | Sealed Secrets image registry | docker.io |
image.repository | Sealed Secrets image repository | bitnami/sealed-secrets |
image.tag | Sealed Secrets image tag (immutable tags are recommended) | 0.19.1-scratch-r0 |
image.digest | Sealed Secrets image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Sealed Secrets image pull policy | IfNotPresent |
image.pullSecrets | Sealed Secrets image pull secrets | [] |
image.debug | Enable Sealed Secrets image debug mode | false |
command | Override default container command (useful when using custom images) | [] |
commandArgs | Additional args (doesn't override the default ones) | [] |
args | Override default container args (useful when using custom images) | [] |
containerPorts.http | Controller HTTP container port to open | 8080 |
resources.limits | The resources limits for the Sealed Secret containers | {} |
resources.requests | The requested resources for the Sealed Secret containers | {} |
livenessProbe.enabled | Enable livenessProbe on Sealed Secret containers | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 5 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 1 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 3 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe on Sealed Secret containers | true |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 5 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 1 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 3 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
startupProbe.enabled | Enable startupProbe on Sealed Secret containers | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 10 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 1 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 15 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
customStartupProbe | Custom startupProbe that overrides the default one | {} |
podSecurityContext.enabled | Enabled Sealed Secret pods' Security Context | true |
podSecurityContext.fsGroup | Set Sealed Secret pod's Security Context fsGroup | 1001 |
podSecurityContext.seccompProfile.type | Set Sealed Secret pod's Security Context seccompProfile type | RuntimeDefault |
containerSecurityContext.enabled | Enabled Sealed Secret containers' Security Context | true |
containerSecurityContext.allowPrivilegeEscalation | Whether the Sealed Secret container can escalate privileges | false |
containerSecurityContext.capabilities.drop | Which privileges to drop in the Sealed Secret container | ["ALL"] |
containerSecurityContext.readOnlyRootFilesystem | Whether the Sealed Secret container has a read-only root filesystem | true |
containerSecurityContext.runAsNonRoot | Indicates that the Sealed Secret container must run as a non-root user | true |
containerSecurityContext.runAsUser | Set Sealed Secret containers' Security Context runAsUser | 1001 |
containerSecurityContext.seccompProfile.type | Set Sealed Secret container's Security Context seccompProfile type | RuntimeDefault |
hostAliases | Sealed Secret pods host aliases | [] |
podLabels | Extra labels for Sealed Secret pods | {} |
podAnnotations | Annotations for Sealed Secret pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsealed-secrets is pinned at v1.1.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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