mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
2f6400fe57
The ImageStream and BuildConfig use the Containerfile to build a container image in the OpenShift registry so that automated image mirroring can be configured. Signed-off-by: Niels de Vos <ndevos@redhat.com>
32 lines
516 B
YAML
32 lines
516 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ImageStream
|
|
metadata:
|
|
name: mirror-images
|
|
labels:
|
|
app: mirror-images
|
|
spec:
|
|
tags:
|
|
- name: latest
|
|
---
|
|
apiVersion: v1
|
|
kind: BuildConfig
|
|
metadata:
|
|
name: mirror-images
|
|
labels:
|
|
app: mirror-images
|
|
spec:
|
|
runPolicy: Serial
|
|
source:
|
|
git:
|
|
uri: https://github.com/ceph/ceph-csi
|
|
ref: ci/centos
|
|
contextDir: mirror
|
|
strategy:
|
|
dockerStrategy:
|
|
dockerfilePath: Containerfile
|
|
output:
|
|
to:
|
|
kind: ImageStreamTag
|
|
name: mirror-images:latest
|