c12s-kubespray/roles/kubernetes-apps/registry/templates/registry-pvc.yml.j2
Wong Hoi Sing Edison f8ebd08e75 Registry Addon Fixup
2018-03-22 21:33:32 +08:00

16 lines
372 B
Django/Jinja

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: registry-pvc
namespace: {{ registry_namespace }}
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
spec:
accessModes:
- ReadWriteOnce
storageClassName: {{ registry_storage_class }}
resources:
requests:
storage: {{ registry_disk_size }}