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