33 lines
751 B
YAML
33 lines
751 B
YAML
|
{{- if eq .Values.openshift.masterIscsiConfig true }}
|
||
|
apiVersion: machineconfiguration.openshift.io/v1
|
||
|
kind: MachineConfig
|
||
|
metadata:
|
||
|
labels:
|
||
|
machineconfiguration.openshift.io/role: master
|
||
|
name: 99-master-ntnx-csi-enable-iscsid
|
||
|
spec:
|
||
|
config:
|
||
|
ignition:
|
||
|
version: 3.1.0
|
||
|
systemd:
|
||
|
units:
|
||
|
- enabled: true
|
||
|
name: iscsid.service
|
||
|
{{- end }}
|
||
|
---
|
||
|
{{- if eq .Values.openshift.workerIscsiConfig true }}
|
||
|
apiVersion: machineconfiguration.openshift.io/v1
|
||
|
kind: MachineConfig
|
||
|
metadata:
|
||
|
labels:
|
||
|
machineconfiguration.openshift.io/role: worker
|
||
|
name: 99-worker-ntnx-csi-enable-iscsid
|
||
|
spec:
|
||
|
config:
|
||
|
ignition:
|
||
|
version: 3.1.0
|
||
|
systemd:
|
||
|
units:
|
||
|
- enabled: true
|
||
|
name: iscsid.service
|
||
|
{{- end }}
|