iSCSI
Appears in
.Values.persistence.$name
iscsi
Define the iSCSI
| Key | persistence.$name.iscsi | 
| Type | map | 
| Required | ✅ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
persistence:  iscsi-vol:    iscsi: {}fsType
Define the fsType
| Key | persistence.$name.fsType | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Valid Values
ext4xfsntfs
Example
persistence:  iscsi-vol:    iscsi:      fsType: ext4targetPortal
Define the targetPortal
| Key | persistence.$name.targetPortal | 
| Type | string | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      targetPortal: some.target.portaliqn
Define the iqn
| Key | persistence.$name.iqn | 
| Type | string | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      iqn: some.iqnlun
Define the lun
| Key | persistence.$name.lun | 
| Type | int | 
| Required | ✅ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      lun: 0initiatorName
Define the initiatorName
| Key | persistence.$name.initiatorName | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      initiatorName: some.initiator.nameiscsiInterface
Define the iscsiInterface
| Key | persistence.$name.iscsiInterface | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      iscsiInterface: some.interfaceportals
Define the portals
| Key | persistence.$name.portals | 
| Type | list of string | 
| Required | ❌ | 
Helm tpl | ✅ (On entries only) | 
| Default | [] | 
Example
persistence:  iscsi-vol:    iscsi:      portals:        - some.portal.1        - some.portal.2authDiscovery
Define the authDiscovery
| Key | persistence.$name.iscsi.authDiscovery | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
persistence:  iscsi-vol:    iscsi:      authDiscovery: {}authDiscovery.username
Define the username
| Key | persistence.$name.iscsi.authDiscovery.username | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authDiscovery:        username: some.usernameauthDiscovery.password
Define the password
| Key | persistence.$name.iscsi.authDiscovery.password | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authDiscovery:        password: some.passwordauthDiscovery.usernameInitiator
Define the usernameInitiator
| Key | persistence.$name.iscsi.authDiscovery.usernameInitiator | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authDiscovery:        usernameInitiator: some.usernameInitiatorauthDiscovery.passwordInitiator
Define the passwordInitiator
| Key | persistence.$name.iscsi.authDiscovery.passwordInitiator | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authDiscovery:        passwordInitiator: some.passwordInitiatorauthSession
Define the authSession
| Key | persistence.$name.iscsi.authSession | 
| Type | map | 
| Required | ❌ | 
Helm tpl | ❌ | 
| Default | {} | 
Example
persistence:  iscsi-vol:    iscsi:      authSession: {}authSession.username
Define the username
| Key | persistence.$name.iscsi.authSession.username | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authSession:        username: some.usernameauthSession.password
Define the password
| Key | persistence.$name.iscsi.authSession.password | 
| Type | string | 
| Required | ❌ | 
Helm tpl | ✅ | 
| Default | "" | 
Example
persistence:  iscsi-vol:    iscsi:      authSession:        password: some.passwordFull 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