Skip to content

Commit

Permalink
Merge pull request #62 from dagrayvid/revert-61-revert-60-add-imagest…
Browse files Browse the repository at this point in the history
…ream-manifests

(reimplement) Add imagestream for driver-toolkit
  • Loading branch information
openshift-merge-robot authored Sep 20, 2021
2 parents bacd68b + 39a4352 commit da8a609
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
23 changes: 23 additions & 0 deletions manifests/01-openshift-imagestream.yaml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions manifests/image-references
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da8a609

Please sign in to comment.