Files
k8s-harbor/deployments/registry.yaml
2025-04-27 15:57:11 +00:00

28 lines
596 B
YAML

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