apiVersion: apps/v1 kind: Deployment metadata: name: harbor-registry namespace: harbor spec: replicas: 1 selector: matchLabels: app: harbor-registry template: metadata: labels: app: harbor-registry spec: containers: - name: registry image: goharbor/registry-photon:v2.10.0 ports: - containerPort: 5000 volumeMounts: - name: registry-data mountPath: /storage volumes: - name: registry-data persistentVolumeClaim: claimName: registry-pvc