mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 16:50:23 +00:00
25 lines
462 B
YAML
25 lines
462 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: iscsipd
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: iscsipd-ro
|
||
|
image: kubernetes/pause
|
||
|
volumeMounts:
|
||
|
- mountPath: "/mnt/iscsipd"
|
||
|
name: iscsivol
|
||
|
volumes:
|
||
|
- name: iscsivol
|
||
|
iscsi:
|
||
|
targetPortal: 127.0.0.1
|
||
|
iqn: iqn.2015-02.example.com:test
|
||
|
lun: 0
|
||
|
fsType: ext4
|
||
|
readOnly: true
|
||
|
chapAuthDiscovery: true
|
||
|
chapAuthSession: true
|
||
|
secretRef:
|
||
|
name: chap-secret
|