Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deploy/1-image-stream.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
name: graph-data
namespace: openshift-update-service
19 changes: 19 additions & 0 deletions deploy/2-build-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: graph-data
namespace: openshift-update-service
spec:
source:
type: Git
git:
uri: https://github.com/openshift/cincinnati-graph-data.git
ref: master
strategy:
type: Docker
output:
to:
kind: ImageStreamTag
name: graph-data:latest
triggers:
- type: ConfigChange
10 changes: 10 additions & 0 deletions deploy/3-update-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: updateservice.operator.openshift.io/v1
kind: UpdateService
metadata:
name: example
namespace: openshift-update-service
spec:
graphDataImage: >-
image-registry.openshift-image-registry.svc:5000/openshift-update-service/graph-data:latest
releases: quay.io/openshift-release-dev/ocp-release
replicas: 1
9 changes: 9 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Test deployments

For conveniently testing graph-data state against a locally installed [OpenShift Update Service][osus] operator, edit `spec.source.git` in [`2-build-config.yaml`](2-build-config.yaml) to point at your fork, and then:

```console
$ oc apply -f .
```

[osus]: https://catalog.redhat.com/software/operators/detail/5f0f35842991b4207fcdb202