secrets-store-csi-driver

by alekc

Helm chartv1.6.2App 1.6.2

A Helm chart to install the SecretsStore CSI Driver inside a Kubernetes cluster.

About this chart

secrets-store-csi-driver

Installation

Quick start instructions for the setup and configuration of secrets-store-csi-driver using Helm.

Prerequisites

Installing the chart

Add the chart repo

helm repo add secrets-store-csi-driver https://kubernetes-sigs.github.io/secrets-store-csi-driver/charts

Install chart using Helm v3.0+

helm install csi-secrets-store secrets-store-csi-driver/secrets-store-csi-driver

Configuration

The following table lists the configurable parameters of the csi-secrets-store-provider-azure chart and their default values.

ParameterDescriptionDefault
nameOverrideString to partially override secrets-store-csi-driver.fullname template with a string (will prepend the release name)""
commonLabelsLabels to apply to all resources""
fullnameOverrideString to fully override secrets-store-csi-driver.fullname template with a string""
linux.image.repositoryLinux image repositoryregistry.k8s.io/csi-secrets-store/driver
linux.image.pullPolicyLinux image pull policyIfNotPresent
linux.image.tagLinux image tagv1.6.2
linux.image.digestLinux image digest, image pull from digest instead of tag if specified""
linux.crds.enabledIf the CRDs should be managed by the charttrue
linux.crds.image.repositoryLinux crds image repositoryregistry.k8s.io/csi-secrets-store/driver-crds
linux.crds.image.pullPolicyLinux crds image pull policyIfNotPresent
linux.crds.image.tagLinux crds image tagv1.6.2
linux.crds.resourcesThe resource request/limits for the linux crds container image{}
linux.crds.podLabelsLinux Pod labels appended to CRD helm hook job pods{}
linux.affinityLinux affinitykey: type; operator: NotIn; values: [virtual-kubelet]
linux.driver.resourcesThe resource request/limits for the linux secrets-store container imagelimits: 200m CPU, 200Mi; requests: 50m CPU, 100Mi
linux.enabledInstall secrets store csi driver on linux nodestrue
linux.kubeletRootDirConfigure the kubelet root dir/var/lib/kubelet
linux.providersDirConfigure the providers root dir/var/run/secrets-store-csi-providers
linux.additionalProvidersDirsList of additional paths to communicate with providers. Refer to issue for more details.[/etc/kubernetes/secrets-store-csi-providers]
linux.nodeSelectorNode Selector for the daemonset on linux nodes{}
linux.tolerationsTolerations for the daemonset on linux nodes[{"operator": "Exists"}]
linux.metricsAddrThe address the metric endpoint binds to:8095
linux.registrarImage.repositoryLinux node-driver-registrar image repositoryregistry.k8s.io/sig-storage/csi-node-driver-registrar
linux.registrarImage.pullPolicyLinux node-driver-registrar image pull policyIfNotPresent
linux.registrarImage.tagLinux node-driver-registrar image tagv2.16.0
linux.registrarImage.digestLinux node-driver-registrar image digest, image pull from digest instead of tag if specified""
linux.registrar.resourcesThe resource request/limits for the linux node-driver-registrar container imagelimits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi
linux.registrar.logVerbosityLog level for node-driver-registrar. Uses V logs (klog)5
linux.livenessProbeImage.repositoryLinux liveness-probe image repositoryregistry.k8s.io/sig-storage/livenessprobe
linux.livenessProbeImage.pullPolicyLinux liveness-probe image pull policyIfNotPresent
linux.livenessProbeImage.tagLinux liveness-probe image tagv2.18.0
linux.livenessProbeImage.digestLinux liveness-probe image digest, image pull from digest instead of tag if specified""
linux.livenessProbe.resourcesThe resource request/limits for the linux liveness-probe container imagelimits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi
linux.envEnvironment variables to be passed for the daemonset on linux nodes[]
linux.priorityClassNameIndicates the importance of a Pod relative to other Pods.""
linux.crds.annotationsLinux helm hook annotations{}
linux.daemonsetAnnotationsLinux DaemonSet annotations{}
linux.podAnnotationsLinux Pod annotations{}
linux.podLabelsLinux Pod labels{}
linux.volumesLinux volumes{}
linux.volumeMountsLinux volumeMounts{}
linux.updateStrategyConfigure a custom update strategy for the daemonset on linux nodesRollingUpdate with 1 maxUnavailable
windows.image.repositoryWindows image repositoryregistry.k8s.io/csi-secrets-store/driver
windows.image.pullPolicyWindows image pull policyIfNotPresent
windows.image.tagWindows image tagv1.6.2
windows.image.digestWindows image digest, image pull from digest instead of tag if specified

Deploy secrets-store-csi-driver with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has secrets-store-csi-driver 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 chartsecrets-store-csi-driver is pinned at v1.6.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