test-cluster-on-pvc-encrypted.yaml 906 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apiVersion: ceph.rook.io/v1
  2. kind: CephCluster
  3. metadata:
  4. name: rook-ceph
  5. namespace: rook-ceph
  6. spec:
  7. dataDirHostPath: /var/lib/rook
  8. mon:
  9. count: 1
  10. volumeClaimTemplate:
  11. spec:
  12. storageClassName: manual
  13. resources:
  14. requests:
  15. storage: 5Gi
  16. cephVersion:
  17. image: quay.io/ceph/ceph:v17.2.6
  18. dashboard:
  19. enabled: false
  20. network:
  21. hostNetwork: false
  22. crashCollector:
  23. disable: true
  24. storage:
  25. storageClassDeviceSets:
  26. - name: set1
  27. count: 1
  28. portable: false
  29. tuneDeviceClass: false
  30. encrypted: true
  31. volumeClaimTemplates:
  32. - metadata:
  33. name: data
  34. spec:
  35. resources:
  36. requests:
  37. storage: 10Gi
  38. storageClassName: manual
  39. volumeMode: Block
  40. accessModes:
  41. - ReadWriteOnce