Skip to content

chore: openshift: add step for creating ImageStream #1221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 3, 2023
Merged
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
12 changes: 12 additions & 0 deletions setup/kubernetes/openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,18 @@ spec:
name: "enterprise-base:latest"
```

This will automatically create a `Build` for the image.
For the moment, it will remain in the "New" status.

Finally, create an `ImageStream` that references the `ImageStreamTag`
from the `BuildConfig` above:

```console
oc create imagestream enterprise-base
```

The `Build` created from the previous step should begin automatically.

When creating workspaces,
[configure Coder to connect to the internal OpenShift registry](../../admin/registries/index.md)
and use the base image you just created.
Expand Down