NetApp / trident

Storage orchestrator for containers
Apache License 2.0
753 stars 219 forks source link

trident IPSec support #644

Open Jiawei0227 opened 3 years ago

Jiawei0227 commented 3 years ago

Describe the solution you'd like ONTAP supports IPSec as the only data in transit encryption option for iSCSI. Context: https://docs.netapp.com/us-en/ontap/networking/configure_ip_security_@ipsec@_over_wire_encryption.html

However, the IPSec configuration is tedious and complicated. It requires ONTAP security policy database(SPD) configuration as well as IPSec configuration on the host machine. To separately manage both these configs are a lot of pain for ONTAP end user.

It would be good if trident can add a IPSec support so that user can provide a data subnet range, and then trident can

  1. Generate a separate security key for each node CSI driver will be running
  2. Automatically talk to ONTAP api and generate the necessary SPD entry with the key and ip.
  3. Automatically configure Host machine to enable IPSec using software like strongSwan
  4. Dynamically add or remove SPD entry when cluster scales.

This would be a great solution for users that have stricter security restriction.

Wondering if this is a solid solution and worth putting time to implement.

/cc @msau42 @bswartz

g0053 commented 1 year ago

+1