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

17 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 }}