kubespray/roles/kubernetes-apps/registry/templates/registry-pvc.yml.j2

16 lines
351 B
Plaintext
Raw Normal View History

2018-02-09 15:47:57 +08:00
---
apiVersion: v1
2018-02-09 15:47:57 +08:00
kind: PersistentVolumeClaim
metadata:
2018-02-09 15:47:57 +08:00
name: registry-pvc
namespace: {{ registry_namespace }}
labels:
addonmanager.kubernetes.io/mode: Reconcile
spec:
accessModes:
- {{ registry_storage_access_mode }}
2018-02-09 15:47:57 +08:00
storageClassName: {{ registry_storage_class }}
resources:
requests:
2018-02-09 15:47:57 +08:00
storage: {{ registry_disk_size }}