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