Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

A Kubernetes CSI plugin to automatically mount SPIFFE certificates to Pods using ephemeral volumes

License

Notifications You must be signed in to change notification settings

otterize/csi-driver-spiffe

This branch is 2 commits ahead of, 213 commits behind cert-manager/csi-driver-spiffe:main.

Folders and files

NameName
Last commit message
Last commit date
Mar 27, 2024
Oct 4, 2021
Mar 12, 2024
Feb 22, 2024
Mar 27, 2024
Apr 8, 2024
Mar 27, 2024
Jan 10, 2024
Apr 4, 2024
Oct 4, 2021
Jan 18, 2024
Feb 26, 2024
Jan 24, 2024
Jan 18, 2024
Jan 25, 2023
Apr 30, 2022
Nov 20, 2024
Nov 20, 2024
Apr 8, 2024

Repository files navigation

cert-manager project logo
Go Report Card

csi-driver-spiffe

csi-driver-spiffe is a Container Storage Interface (CSI) driver plugin for Kubernetes, designed to work alongside cert-manager.

It transparently delivers SPIFFE SVIDs (in the form of X.509 certificate key pairs) to mounting Kubernetes Pods.

The end result is that any and all Pods running in Kubernetes can securely request a SPIFFE identity document from a Trust Domain with minimal configuration.

These documents in turn have the following properties:

  • automatically renewed ✔️
  • private key never leaves the node's virtual memory ✔️
  • each Pod's document is unique ✔️
  • the document shares the same life cycle as the Pod and is destroyed on Pod termination ✔️
...
          volumeMounts:
          - mountPath: "/var/run/secrets/spiffe.io"
            name: spiffe
      volumes:
        - name: spiffe
          csi:
            driver: spiffe.csi.cert-manager.io
            readOnly: true

SPIFFE documents can then be used by Pods for mutual TLS (mTLS) or other authentication within their Trust Domain.

Documentation

Please follow the documentation at cert-manager.io for installing and using csi-driver-spiffe.

About

A Kubernetes CSI plugin to automatically mount SPIFFE certificates to Pods using ephemeral volumes

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 58.4%
  • Makefile 36.9%
  • Shell 3.6%
  • Mustache 1.1%