akeyless-csi-provider
by akeyless.io
A Helm chart for Kubernetes that deploys akeyless-csi-provider
About this chart
Akeyless CSI Provider Helm Chart
This repository contains the official Akeyless Helm chart for installing Akeyless CSI Provider on Kubernetes.
Prerequisites
To use the charts here, Helm must be configured for your Kubernetes cluster. Setting up Kubernetes and Helm is outside the scope of this README. Please refer to the Kubernetes and Helm documentation.
The versions required are:
- Helm 3.0+ - This is the earliest version of Helm tested. It is possible it works with earlier versions but this chart is untested for those versions.
- Kubernetes 1.14+ - This is the earliest version of Kubernetes tested. It is possible that this chart works with earlier versions but it is untested.
Usage
To install the latest version of this chart, add the Hashicorp helm repository
and run helm install:
$ helm repo add akeyless https://akeylesslabs.github.io/helm-charts
Azure Workload Identity
To authenticate the CSI provider to Akeyless with azure_ad (via akeyless-go-cloud-id
DefaultAzureCredential), configure AKS Workload Identity on the provider DaemonSet.
The Azure identity is that of the CSI provider pod, not individual application pods.
- Create a user-assigned managed identity and federated identity credential whose
subjectmatches the provider ServiceAccount (system:serviceaccount:<namespace>:<release>-csi-provider). - Set Helm values for the provider ServiceAccount annotation and pod label so the
AKS Workload Identity webhook injects
AZURE_*env vars into the provider pods.
csi:
serviceAccount:
annotations:
azure.workload.identity/client-id: "<MI_CLIENT_ID>"
pod:
labels:
azure.workload.identity/use: "true"
In your SecretProviderClass, use akeylessAccessType: azure_ad and leave
akeylessAzureObjectID unset (empty) so token acquisition uses Workload Identity
rather than the Azure IMDS endpoint.
See also: Akeyless CSI Provider and Akeyless Azure AD auth method.
Deploy akeyless-csi-provider with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has akeyless-csi-provider 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 chartakeyless-csi-provider is pinned at v1.0.4 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