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