dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
71 stars 16 forks source link

[FEATURE]: Support K8s secrets as credential store in CSM Authorization Proxy v2 #1468

Open thikade opened 2 months ago

thikade commented 2 months ago

Describe the solution you'd like CSM for Authorization Proxy v2 (tech preview at this moment) introduces a dependency to Hashicorp Vault, which is quite a heavy requirement for production use when you simply want to install the CSI driver and use the CSM Authorization proxy to manage & provision storage volumes.
If Hashicorp Vault is used for storing credentials, why not additionally provide a much simpler backend based on K8s secrets. As an example, the Apache Kafka operator strimzi uses a similar scheme for managing users via the custom resource KafkaUser:

This would enable a much simpler and faster adoption & setup of CSM authorization proxy and CSI driver.

Additional context Hashicorp Vault is solid option, especially for envs that already use a vault cluster in production.
Building and operating a vault cluster - especially on premise - is no trivial task, and seems a bit heavy-weight when the goal is to setup the CSI driver for dynamic storage provisioning.

csmbot commented 2 months ago

@thikade: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and respond appropriately.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at container.storage.modules@dell.com.