Skip to content

iSCSI

Appears in

  • .Values.persistence.$name

iscsi

Define the iSCSI

Keypersistence.$name.iscsi
Typemap
Required
Helm tpl
Default{}

Example

persistence:
iscsi-vol:
iscsi: {}

fsType

Define the fsType

Keypersistence.$name.fsType
Typestring
Required
Helm tpl
Default""

Valid Values

  • ext4
  • xfs
  • ntfs

Example

persistence:
iscsi-vol:
iscsi:
fsType: ext4

targetPortal

Define the targetPortal

Keypersistence.$name.targetPortal
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
targetPortal: some.target.portal

iqn

Define the iqn

Keypersistence.$name.iqn
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
iqn: some.iqn

lun

Define the lun

Keypersistence.$name.lun
Typeint
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
lun: 0

initiatorName

Define the initiatorName

Keypersistence.$name.initiatorName
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
initiatorName: some.initiator.name

iscsiInterface

Define the iscsiInterface

Keypersistence.$name.iscsiInterface
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
iscsiInterface: some.interface

portals

Define the portals

Keypersistence.$name.portals
Typelist of string
Required
Helm tpl✅ (On entries only)
Default[]

Example

persistence:
iscsi-vol:
iscsi:
portals:
- some.portal.1
- some.portal.2

authDiscovery

Define the authDiscovery

Keypersistence.$name.iscsi.authDiscovery
Typemap
Required
Helm tpl
Default{}

Example

persistence:
iscsi-vol:
iscsi:
authDiscovery: {}

authDiscovery.username

Define the username

Keypersistence.$name.iscsi.authDiscovery.username
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authDiscovery:
username: some.username

authDiscovery.password

Define the password

Keypersistence.$name.iscsi.authDiscovery.password
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authDiscovery:
password: some.password

authDiscovery.usernameInitiator

Define the usernameInitiator

Keypersistence.$name.iscsi.authDiscovery.usernameInitiator
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authDiscovery:
usernameInitiator: some.usernameInitiator

authDiscovery.passwordInitiator

Define the passwordInitiator

Keypersistence.$name.iscsi.authDiscovery.passwordInitiator
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authDiscovery:
passwordInitiator: some.passwordInitiator

authSession

Define the authSession

Keypersistence.$name.iscsi.authSession
Typemap
Required
Helm tpl
Default{}

Example

persistence:
iscsi-vol:
iscsi:
authSession: {}

authSession.username

Define the username

Keypersistence.$name.iscsi.authSession.username
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authSession:
username: some.username

authSession.password

Define the password

Keypersistence.$name.iscsi.authSession.password
Typestring
Required
Helm tpl
Default""

Example

persistence:
iscsi-vol:
iscsi:
authSession:
password: some.password

Full Examples

persistence:
iscsi-vol:
enabled: true
type: iscsi
iscsi:
fsType: "{{ .Values.some_fsType }}"
targetPortal: "{{ .Values.some_targetPortal }}"
iqn: "{{ .Values.some_iqn }}"
lun: "{{ .Values.some_lun }}"
initiatorName: "{{ .Values.some_initiatorName }}"
iscsiInterface: "{{ .Values.some_interface }}"
portals:
- "{{ index .Values.some_portals 0 }}"
- "{{ index .Values.some_portals 1 }}"
authSession:
username: "{{ .Values.username }}"
password: "{{ .Values.password }}"
usernameInitiator: '{{ printf "%s%s" .Values.username "Initiator" }}'
passwordInitiator: '{{ printf "%s%s" .Values.password "Initiator" }}'
iscsi-vol2:
enabled: true
type: iscsi
iscsi:
fsType: ext4
targetPortal: some.target.portal
iqn: some.iqn
lun: 0
initiatorName: some.initiator.name
iscsiInterface: some.interface
portals:
- some.portal.1
- some.portal.2
authDiscovery:
username: some.username
password: some.password
usernameInitiator: some.usernameInitiator
passwordInitiator: some.passwordInitiator