{{#input-or-display editable=editing value=config.path}}
{{input type="text" value=config.path classNames="form-control" placeholder=(t 'cruPersistentVolume.cephfs.path.placeholder')}}
{{/input-or-display}}
{{#input-or-display editable=editing value=config.user}}
{{input type="text" value=config.user classNames="form-control" placeholder=(t 'cruPersistentVolume.cephfs.user.placeholder')}}
{{/input-or-display}}
{{#input-or-display editable=editing value=config.secretFile}}
{{input type="text" value=config.secretFile classNames="form-control" placeholder=(t 'cruPersistentVolume.cephfs.secretFile.placeholder')}}
{{/input-or-display}}
{{#input-or-display editable=editing value=config.secretRef.name}}
{{input type="text" value=config.secretRef.name classNames="form-control" placeholder=(t 'cruPersistentVolume.cephfs.secretRef.name.placeholder')}}
{{/input-or-display}}
{{#if (eq volume.type "persistentVolume")}}
{{#input-or-display editable=editing value=config.secretRef.namespace}}
{{input type="text" value=config.secretRef.namespace classNames="form-control" placeholder=(t 'cruPersistentVolume.cephfs.secretRef.namespace.placeholder')}}
{{/input-or-display}}
{{/if}}
{{#if editing}}
{{else}}
{{config.readOnly}}
{{/if}}
{{form-value-array
initialValues=config.monitors
editing=editing
valueLabel="cruPersistentVolume.cephfs.monitors.label"
addActionLabel="cruPersistentVolume.cephfs.monitors.addActionLabel"
changed=(action (mut config.monitors))
}}