registry data as pvc
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user