mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-13 01:40:23 +00:00
18 lines
465 B
YAML
18 lines
465 B
YAML
kind: PersistentVolume
|
|
apiVersion: v1
|
|
metadata:
|
|
name: kube-system-kube-registry-pv
|
|
labels:
|
|
kubernetes.io/cluster-service: "true"
|
|
addonmanager.kubernetes.io/mode: Reconcile
|
|
spec:
|
|
{% if pillar.get('cluster_registry_disk_type', '') == 'gce' %}
|
|
capacity:
|
|
storage: {{ pillar['cluster_registry_disk_size'] }}
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
gcePersistentDisk:
|
|
pdName: "{{ pillar['cluster_registry_disk_name'] }}"
|
|
fsType: "ext4"
|
|
{% endif %}
|