iSCSI volume plugin: iSCSI initiatorname support

This PR adds iSCSI initiatorname parameter to ISCSIVolumeSource
to enable automatic configuration of initiator name per volume.
This would allow for more fine grained configuration, and remove
the need to configure the initiator name on the host by
administrator.

fixes: #47311
This commit is contained in:
Mitsuhiro Tanino
2017-07-11 23:37:48 -04:00
committed by mtanino
parent b2b079b95a
commit a6e523f2e7
8 changed files with 440 additions and 7 deletions

View File

@@ -709,6 +709,11 @@ type ISCSIVolumeSource struct {
// The secret is used if either DiscoveryCHAPAuth or SessionCHAPAuth is true
// +optional
SecretRef *LocalObjectReference
// Optional: Custom initiator name per volume.
// If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
// <target portal>:<volume name> will be created for the connection.
// +optional
InitiatorName *string
}
// Represents a Fibre Channel volume.