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

17 lines
372 B
Text
Raw Normal View History

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