Skip to content

CHAP configuration for iscsi targets #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dnovotny opened this issue Sep 21, 2023 · 3 comments
Open

CHAP configuration for iscsi targets #63

dnovotny opened this issue Sep 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@dnovotny
Copy link

Is there documentation on how/where to configure CHAP settings when creating the iscsi targets/luns? Is there a way to store that in a secret and point to it from the storageclass parameter key?

I have the CSI driver setup and working, and it creates the targets and luns as expected, but I don't see where to provide CHAP credentials. If I create the PVC in my k8s cluster, it will create the target and luns, but will fail to connect because my nodes are passing CHAP credentials to the Synology NAS. If I edit the target in DSM, then the lun mounts as expected.

This is a new install, so I am not sure what will happen with scaling up and down yet, but mobility between nodes should be fine.

For references, my cluster is using Ubuntu 22.04LTS on Raspberry Pi 4B Nodes, which are PXE Booting to an iSCSI root off the Synology. So the iscsi configuration on the nodes and the synology are configured and working correctly. And as stated, after the PVCs are deployed and the PVs are created, I can see the LUNs and Targets in the DSM. If I add the CHAP configuration at that point, then the volumes mount and run as expected.

@aaron-trout
Copy link

aaron-trout commented Oct 4, 2023

+1 it would be great to have support for iSCSI CHAP auth in this driver

@sebracs
Copy link

sebracs commented Jan 4, 2024

There seems to be some stub code but no real implementation:

chapUser string

@theobjectivedad
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants