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

15 lines
330 B
Django/Jinja

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