registry data as pvc

This commit is contained in:
2025-12-09 11:58:59 +01:00
parent bdfba64fc8
commit 642dad952e

View File

@@ -11,7 +11,7 @@ spec:
hostPort: 5000
volumeMounts:
- mountPath: /var/lib/registry
name: registry-data
name: registry-data-pvc
securityContext:
privileged: true
- name: registry-ui
@@ -37,7 +37,7 @@ spec:
- name: REGISTRY_SECURED
value: "false"
volumes:
- name: registry-data
hostPath:
path: /var/lib/registry
- name: registry-data-pvc
persistentVolumeClaim:
claimName: registry-data
restartPolicy: Always