hpe-storage / truenas-csp

TrueNAS Container Storage Provider for HPE CSI Driver for Kubernetes
https://scod.hpedev.io
MIT License
65 stars 8 forks source link

Is CHAP auth supported? #26

Open ishioni opened 2 years ago

ishioni commented 2 years ago

Like in the title - will CHAP (or mutual CHAP for that mattter) work?

datamattsson commented 2 years ago

CHAP has not been implemented. It should be fairly easy to implement as the CSI driver supports CHAP. Not mutual CHAP though.

ishioni commented 2 years ago

I'd be interested. Was using chap with democratic-csi. I'm guessing passing chap username/pass into the HPE CSI driver is not enough (there's an option in the chart)?

datamattsson commented 2 years ago

@ishioni you can pass in CHAP credentials in the HPE CSI Driver chart. If you do that now, I'm decently sure you'll break volume attachment. At-a-glance, there's an API endpoint to manage CHAP credentials in TrueNAS and it should be pretty straightforward to add. I'm not sure why I left this out to be quite honest.

ishioni commented 2 years ago

@datamattsson Any news on this?

datamattsson commented 2 years ago

Not yet, I'll see if I can hash this out in the coming weeks.

datamattsson commented 4 months ago

This will be looked into after the CHAP rework in the HPE CSI Driver.