-
Notifications
You must be signed in to change notification settings - Fork 11
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
Configure basename and portal #22
Comments
The The Another approach could be to remove the "hpe-csi" comment requirement all together and simply return all portal IPs found with the Let me noodle on this for the next release. |
The CSP now (#40) supports either of the official target names. Custom target names altogether needs to be fixed in the upstream CSI driver if desired. |
Where to define target_basename and target_portal ? I tried adding them to secret and storage class without success. |
Did you follow the INSTALL guide? You configure them on the FreeNAS/TrueNAS appliance. |
I got install working with iqn.2011-08.org.truenas.ctl/hpe-csi. I am asking here how to pass my own custom target_basename and target_portal ? |
The Why do these things matter as both parameters are merely keys to find devices and configuration? |
Thanks for clarification. |
Just wanted to add why this mattered in my case , I have 10 servers already iscsi-connected to TrueNAS. Changing target to hardcoded value "iqn.2011-08.org.truenas.ctl" will require downtime to reconfigure the 10 servers iscsi to new target. |
The target IQNs are hardcoded in the CSI node driver, not the TrueNAS CSP. It's how the HPE CSI Driver filter out iSCSI targets on the worker nodes. It would make sense to allow that list of targets to be dynamically set but it's outside the scope of the TrueNAS CSP. |
Thanks for your help. |
Possible to change default value of; self.target_basename = 'iqn.2011-08.org.truenas.ctl' and self.target_portal = 'hpe-csi' with a config map/secret.
Apply config map to values in backend.py.
The text was updated successfully, but these errors were encountered: