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.
| Parameter | Description | Default |
|---|---|---|
nameOverride | String to partially override secrets-store-csi-driver.fullname template with a string (will prepend the release name) | "" |
commonLabels | Labels to apply to all resources | "" |
fullnameOverride | String to fully override secrets-store-csi-driver.fullname template with a string | "" |
linux.image.repository | Linux image repository | registry.k8s.io/csi-secrets-store/driver |
linux.image.pullPolicy | Linux image pull policy | IfNotPresent |
linux.image.tag | Linux image tag | v1.6.2 |
linux.image.digest | Linux image digest, image pull from digest instead of tag if specified | "" |
linux.crds.enabled | If the CRDs should be managed by the chart | true |
linux.crds.image.repository | Linux crds image repository | registry.k8s.io/csi-secrets-store/driver-crds |
linux.crds.image.pullPolicy | Linux crds image pull policy | IfNotPresent |
linux.crds.image.tag | Linux crds image tag | v1.6.2 |
linux.crds.resources | The resource request/limits for the linux crds container image | {} |
linux.crds.podLabels | Linux Pod labels appended to CRD helm hook job pods | {} |
linux.affinity | Linux affinity | key: type; operator: NotIn; values: [virtual-kubelet] |
linux.driver.resources | The resource request/limits for the linux secrets-store container image | limits: 200m CPU, 200Mi; requests: 50m CPU, 100Mi |
linux.enabled | Install secrets store csi driver on linux nodes | true |
linux.kubeletRootDir | Configure the kubelet root dir | /var/lib/kubelet |
linux.providersDir | Configure the providers root dir | /var/run/secrets-store-csi-providers |
linux.additionalProvidersDirs | List of additional paths to communicate with providers. Refer to issue for more details. | [/etc/kubernetes/secrets-store-csi-providers] |
linux.nodeSelector | Node Selector for the daemonset on linux nodes | {} |
linux.tolerations | Tolerations for the daemonset on linux nodes | [{"operator": "Exists"}] |
linux.metricsAddr | The address the metric endpoint binds to | :8095 |
linux.registrarImage.repository | Linux node-driver-registrar image repository | registry.k8s.io/sig-storage/csi-node-driver-registrar |
linux.registrarImage.pullPolicy | Linux node-driver-registrar image pull policy | IfNotPresent |
linux.registrarImage.tag | Linux node-driver-registrar image tag | v2.16.0 |
linux.registrarImage.digest | Linux node-driver-registrar image digest, image pull from digest instead of tag if specified | "" |
linux.registrar.resources | The resource request/limits for the linux node-driver-registrar container image | limits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi |
linux.registrar.logVerbosity | Log level for node-driver-registrar. Uses V logs (klog) | 5 |
linux.livenessProbeImage.repository | Linux liveness-probe image repository | registry.k8s.io/sig-storage/livenessprobe |
linux.livenessProbeImage.pullPolicy | Linux liveness-probe image pull policy | IfNotPresent |
linux.livenessProbeImage.tag | Linux liveness-probe image tag | v2.18.0 |
linux.livenessProbeImage.digest | Linux liveness-probe image digest, image pull from digest instead of tag if specified | "" |
linux.livenessProbe.resources | The resource request/limits for the linux liveness-probe container image | limits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi |
linux.env | Environment variables to be passed for the daemonset on linux nodes | [] |
linux.priorityClassName | Indicates the importance of a Pod relative to other Pods. | "" |
linux.crds.annotations | Linux helm hook annotations | {} |
linux.daemonsetAnnotations | Linux DaemonSet annotations | {} |
linux.podAnnotations | Linux Pod annotations | {} |
linux.podLabels | Linux Pod labels | {} |
linux.volumes | Linux volumes | {} |
linux.volumeMounts | Linux volumeMounts | {} |
linux.updateStrategy | Configure a custom update strategy for the daemonset on linux nodes | RollingUpdate with 1 maxUnavailable |
windows.image.repository | Windows image repository | registry.k8s.io/csi-secrets-store/driver |
windows.image.pullPolicy | Windows image pull policy | IfNotPresent |
windows.image.tag | Windows image tag | v1.6.2 |
windows.image.digest | Windows 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsecrets-store-csi-driver is pinned at v1.6.2 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