diff --git a/Dockerfile b/Dockerfile index 2ebb7b7..edef034 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,8 @@ WORKDIR /tmp/kmods-via-containers RUN make install DESTDIR=/usr/local CONFDIR=/etc/ +COPY manifests /manifests + LABEL io.k8s.description="driver-toolkit is a container with the kernel packages necessary for building driver containers for deploying kernel modules/drivers on OpenShift" \ name="driver-toolkit" \ io.openshift.release.operator=true \ diff --git a/manifests/01-openshift-imagestream.yaml b/manifests/01-openshift-imagestream.yaml new file mode 100644 index 0000000..5745776 --- /dev/null +++ b/manifests/01-openshift-imagestream.yaml @@ -0,0 +1,23 @@ +kind: ImageStream +apiVersion: image.openshift.io/v1 +metadata: + namespace: openshift + name: driver-toolkit + annotations: + include.release.openshift.io/ibm-cloud-managed: "true" + include.release.openshift.io/self-managed-high-availability: "true" + include.release.openshift.io/single-node-developer: "true" +spec: + tags: + - name: latest + importPolicy: + scheduled: true + from: + kind: DockerImage + name: example.com/image-reference-placeholder:driver-toolkit + - name: 0.0.1-snapshot-machine-os + importPolicy: + scheduled: true + from: + kind: DockerImage + name: example.com/image-reference-placeholder:driver-toolkit diff --git a/manifests/image-references b/manifests/image-references new file mode 100644 index 0000000..6681362 --- /dev/null +++ b/manifests/image-references @@ -0,0 +1,12 @@ +kind: ImageStream +apiVersion: image.openshift.io/v1 +spec: + tags: + - name: driver-toolkit + from: + kind: DockerImage + name: example.com/image-reference-placeholder:driver-toolkit + - name: machine-os-content + from: + kind: DockerImage + name: registry.svc.ci.openshift.org/openshift:machine-os-content