mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
ci: add configuration for the proxy/mirror registry
This makes it possible to pull images from Docker Hub through the local container image registry in the CI OpenShift deployment. The registry in the CI is configured with the 'cephcsibot' account so that pulling images is accounted towards the account, and not anonymous consumers within the whole CentOS CI. There should be no need to manually sync the images between the local registry and Docker Hub anymore. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
6a7e6c841f
commit
5ae8fb7c9b
@ -49,6 +49,8 @@ spec:
|
||||
volumeMounts:
|
||||
- name: container-images
|
||||
mountPath: /var/lib/registry
|
||||
- name: config
|
||||
mountPath: /etc/docker/registry
|
||||
- name: htpasswd
|
||||
mountPath: /auth
|
||||
env:
|
||||
@ -62,6 +64,9 @@ spec:
|
||||
- name: container-images
|
||||
persistentVolumeClaim:
|
||||
claimName: ceph-csi-image-registry
|
||||
- name: config
|
||||
secret:
|
||||
secretName: container-registry-config
|
||||
- name: htpasswd
|
||||
secret:
|
||||
secretName: container-registry-auth
|
||||
|
Reference in New Issue
Block a user