Skip to content

Automatic reload of TLS certificates from filesystem #6933

Open
@pascalgn

Description

@pascalgn

We're trying to use Azure Key Vault provider for Secrets Store CSI Driver in Kubernetes, which basically mounts the TLS certificates from a KeyVault into the filesystem, e.g. as /etc/tls-certificates/example.com.crt. The CSI Driver automatically updates the file when the entry in the KeyVault changes, but Caddy is not reloading the changes.

Would it make sense to change Caddy to use something like https://github.com/fsnotify/fsnotify to automatically reload TLS files when they change? If not, would it be possible to implement this as a plugin?

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions