cert-manager-csi-driver-spiffe
by cert-manager
csi-driver-spiffe is a Kubernetes CSI plugin which transparently delivers X.509 SPIFFE SVIDs to pods via cert-manager
About this chart
cert-manager csi-driver-spiffe
Helm Values
image ~ object
DEPRECATED. Use 'driverImage' and 'approverImage' instead. This is still supported for backwards compatibility but will be removed in a future release.
image.registry ~ string
DEPRECATED. Use driverImage.registry and approverImage.registry instead.
image.repository ~ object
DEPRECATED. use driverImage.repository and approverImage.repository instead.
image.repository.driver ~ string
DEPRECATED:. Use driverImage.repository instead.
image.repository.approver ~ string
DEPRECATED:. Use approverImage.repository instead.
image.tag ~ string
DEPRECATED:. Use driverImage.tag and approverImage.tag instead.
image.digest ~ object
DEPRECATED:. Use driverImage.digest and approverImage.digest instead.
image.digest.driver ~ string
DEPRECATED:. Use driverImage.digest instead.
image.digest.approver ~ string
DEPRECATED:. Use approverImage.digest instead.
image.pullPolicy ~ string
DEPRECATED:. Use driverImage.pullPolicy and approverImage.pullPolicy instead.
imageRegistry ~ string
Default value:
quay.io
The container registry used for csi-driver-spiffe images by default. This can include path prefixes (e.g. "artifactory.example.com/docker").
imageNamespace ~ string
Default value:
jetstack
The repository namespace used for csi-driver-spiffe images by default.
Examples:
- jetstack
- cert-manager
driverImage.registry ~ string
Target image registry. This value is prepended to the target image repository, if set.
For example:
registry: quay.io
repository: jetstack/cert-manager-csi-driver-spiffe
Deprecated: per-component registry prefix.
If set, this value is prepended to the image repository that the chart would otherwise render. This applies both when image.repository is set and when the repository is computed from
imageRegistry + imageNamespace + image.name.
This can produce "double registry" style references such as
legacy.example.io/quay.io/jetstack/.... Prefer using the global
imageRegistry/imageNamespace values.
driverImage.repository ~ string
Default value:
""
Full repository override (takes precedence over imageRegistry, imageNamespace, and image.name). Example: quay.io/jetstack/cert-manager-csi-driver-spiffe
driverImage.name ~ string
Default value:
cert-manager-csi-driver-spiffe
The image name for the csi-driver.
This is used (together with imageRegistry and imageNamespace) to construct the full image reference.
driverImage.tag ~ string
Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.
driverImage.digest ~ string
Target image digest. Override any tag, if set.
For example:
digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20
driverImage.pullPolicy ~ string
Default value:
IfNotPresent
Kubernetes imagePullPolicy on DaemonSet.
approverImage.registry ~ string
Target image registry. This value is prepended to the target image repository, if set.
For example:
registry: quay.io
repository: jetstack/cert-manager-csi-driver-spiffe-approver
Deprecated: per-component registry prefix.
If set, this value is prepended to the image repository that the chart would otherwise render. This applies both when image.repository is set and when the repository is computed from
imageRegistry + imageNamespace + image.name.
This can produce "double registry" style references such as
legacy.example.io/quay.io/jetstack/.... Prefer using the global
imageRegistry/imageNamespace values.
approverImage.repository ~ string
Default value:
""
Full repository override (takes precedence over imageRegistry, imageNamespace, and image.name). Example: quay.io/jetstack/cert-manager-csi-driver-spiffe
approverImage.name ~ string
Default value:
cert-manager-csi-driver-spiffe-approver
The image name for the csi-driver.
This is used (together with imageRegistry and imageNamespace) to construct the full image reference.
approverImage.tag ~ string
Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.
approverImage.digest ~ string
Target image digest. Override any tag, if set.
For example:
digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20
approverImage.pullPolicy ~ string
Default value:
IfNotPresent
Kubernetes imagePullPolicy on Deployment.
imagePullSecrets ~ array
Default value:
[]
Optional secrets used for pulling the csi-driver-spiffe and csi-driver-spiffe-approver container images
For example:
imagePullSecrets:
- name: secret-name
app.logLevel ~ number
Default value:
1
Verbosity of cert-manager-csi-driver-spiffe logging.
app.certificateRequestDuration ~ string
Default value:
1h
Duration requested for requested certificates.
app.runtimeIssuanceConfigMap ~ string
Default value:
""
Name of a ConfigMap in the installation namespace to watch, providing runtime configuration of an issuer to use.
The "issuer-name", "issuer-kind" and "issuer-group" keys must be present in the ConfigMap for it to be used.
app.extraCertificateRequestAnnotations ~ unknown
Default value:
null
List of annotations to add to certificate requests
For example:
extraCertificateRequestAnnotations: app=csi-driver-spiffe,foo=bar
app.trustDomain ~ string
Default value:
cluster.local
The Trust Domain for this driver.
app.name ~ string
Default value:
spiffe.csi.cert-manager.io
The name for the CSI driver installation.
app.issuer.name ~ string
Default value:
spiffe-ca
Issuer name which is used to serve this Trust Domain.
app.issuer.kind ~ string
Default value:
ClusterIssuer
Issuer kind which is used to serve this Trust Domain.
app.issuer.group ~ string
Default value:
cert-manager.io
Issuer group which is used to serve this Trust Domain.
app.driver.sourceCABundle ~ unknown
Default value:
null
Optional file containing a CA bundle that will be propagated to managed volumes.
app.driver.volumeFileName.cert ~ string
Default value:
tls.crt
File name which signed certificates are written to in volumes.
app.driver.volumeFileName.key ~ string
Default value:
tls.key
File name which private keys are written to in volumes.
app.driver.volumeFileName.ca ~ string
Default value:
ca.crt
File name where the CA bundles are written to, if enabled.
app.driver.volumes ~ array
Default value:
[]
Optional extra volumes. Useful for mounting root CAs
For example:
volumes:
- name: root-cas
secret:
secretName: root-ca-bundle
app.driver.volumeMounts ~ array
Default value:
[]
Optional extra volume mounts. Useful for mounting root CAs
For example:
volumeMounts:
- name: root-cas
mountPath: /var/run/secrets/cert-manager-csi-driver-spiffe
app.driver.csiDataDir ~ string
Default value:
/tmp/cert-manager-csi-driver
Configures the hostPath directory that the driver will write and mount volumes from.
app.driver.useOwnServiceAccount ~ bool
Default value:
false
When set to true, the CSI driver will use its own ServiceAccount credentials when creating CertificateRequests, rather than impersonating the mounting pod's ServiceAccount.
When enabled, the Approver changes its validation strategy: instead of verifying the SPIFFE identity matches the requesting pod's ServiceAccount, it verifies that the requester is the driver's own ServiceAccount.
app.driver.resources ~ object
Default value:
{}
Kubernetes pod resource limits for cert-manager-csi-driver-spiffe
For example:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
app.driver.nodeDriverRegistrarImage.registry ~ string
Target image registry. This value is prepended to the target image repository, if set.
For example:
registry: registry.k8s.io
repository: sig-storage/csi-node-driver-registrar
Deprecated: per-component registry prefix.
If set, this value is prepended to the image repository that the chart would otherwise render. This applies both when image.repository is set and when the repository is computed from
imageRegistry + imageNamespace + image.name.
This can produce "double registry" style references such as
legacy.example.io/quay.io/jetstack/.... Prefer using the global
imageRegistry/imageNamespace values.
app.driver.nodeDriverRegistrarImage.repository ~ string
Default value:
""
Full repository override (takes precedence over imageRegistry, imageNamespace, and image.name). Example: quay.io/jetstack/cert-manager-csi-driver-spiffe
app.driver.nodeDriverRegistrarImage.name ~ string
Default value:
csi-node-driver-registrar
The image name for the node-driver-registrar.
This is used to construct the full image reference if repository is empty.
app.driver.nodeDriverRegistrarImage.tag ~ string
Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.
app.driver.nodeDriverRegistrarImage.digest ~ string
Target image digest. Override any tag, if set.
For example:
digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20
app.driver.nodeDriverRegistrarImage.pullPolicy ~ string
Default value:
IfNotPresent
Kubernetes imagePullPolicy on node-driver.
app.driver.livenessProbeImage.registry ~ string
Target image registry. This value is prepended to the target image repository, if set.
For example:
registry: registry.k8s.io
repository: sig-storage/livenessprobe
Deprecated: per-component registry prefix.
If set, this value is prepended to the image repository that the chart would otherwise render. This applies both when image.repository is set and when the repository is computed from
imageRegistry + imageNamespace + image.name.
This can produce "double registry" style references such as
legacy.example.io/quay.io/jetstack/.... Prefer using the global
imageRegistry/imageNamespace values.
app.driver.livenessProbeImage.repository ~ string
Default value:
""
Full repository override (takes precedence over imageRegistry, imageNamespace, and image.name). Example: quay.io/jetstack/cert-manager-csi-driver-spiffe
app.driver.livenessProbeImage.name ~ string
Default value:
livenessprobe
The image name for the liveness probe.
This is used (together with imageRegistry and imageNamespace) to construct the full image reference.
app.driver.livenessProbeImage.tag ~ string
Override the image tag to deploy by setting this variable. If no value is set, the chart's appVersion is used.
app.driver.livenessProbeImage.digest ~ string
Target image digest. Override any tag, if set.
For example:
digest: sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20
app.driver.livenessProbeImage.pullPolicy ~ string
Default value:
IfNotPresent
Kubernetes imagePullPolicy on liveness probe.
app.driver.livenessProbe.port ~ number
Default value:
9809
The port that will expose the liveness of the csi-driver
app.approver.replicaCount ~ number
Default value:
1
Number of replicas of the approver to run.
app.approver.signerName ~ string
Default value:
""
A signer name that the csi-driver-spiffe approver will be given permission to approve and deny. CertificateRequests referencing this signer name can be processed by the SPIFFE approver. See: https://cert-manager.io/docs/concepts/certificaterequest/#approval. Defaults to empty which allows approval for all signers
app.approver.autoApproveNonSPIFFE ~ bool
Default value:
false
When enabled, the approver will approve all CertificateRequests that do not target the configured SPIFFE issuer. This allows csi-driver-spiffe to act as a drop-in replacement for cert-manager's default approval controller, removing the need for approver-policy in simple deployments.
WARNING: Enabling this grants the approver authority to approve all CertificateRequests cluster-wide that do not target the SPIFFE issuer.
app.approver.readinessProbe.port ~ number
Default value:
6060
Container port to expose csi-driver-spiffe-approver HTTP readiness probe on default network interface.
app.approver.metrics.port ~ number
Default value:
9402
Port for exposing Prometheus metrics on 0.0.0.0 on path '/metrics'.
**app.approver.metrics.service.e
Deploy cert-manager-csi-driver-spiffe with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cert-manager-csi-driver-spiffe 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 chartcert-manager-csi-driver-spiffe is pinned at v0.16.0 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