Skip to content

Add iSCSI target interface binding support - #132

Open
qspark-eliezerlp wants to merge 2 commits into
SynologyOpenSource:mainfrom
qspark-eliezerlp:feat/iscsi-interface-binding
Open

Add iSCSI target interface binding support#132
qspark-eliezerlp wants to merge 2 commits into
SynologyOpenSource:mainfrom
qspark-eliezerlp:feat/iscsi-interface-binding

Conversation

@qspark-eliezerlp

Copy link
Copy Markdown

Summary

Adds support for binding created iSCSI targets to specific DSM interfaces via a new StorageClass parameter: iscsiInterfaceNames.

Changes

  • parse iscsiInterfaceNames in the controller
  • pass interface names through the DSM volume spec
  • add DSM target network portal helpers
  • reset and reapply target portals during provisioning to avoid stale concrete portal assignments
  • document the new parameter in README.md
  • add an example iSCSI StorageClass
  • fix Docker image build to compile only bin/synology-csi-driver

Example

parameters:
  dsm: "192.168.1.1"
  fsType: ext4
  location: /volume1
  iscsiInterfaceNames: bond0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant