Skip to content
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

Move the cli image stream into samples operator #89

Merged

Conversation

smarterclayton
Copy link
Contributor

Add installer, which was the next dependency we need to include with
the cluster.

@bparees I realized that having where it is now (in the cli image) is a big
problem because everyone who descends from the cli image was getting added
multiple times during release creation, including jenkins agents. Once this moves
I can delete it out of origin.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 31, 2019
- name: latest
from:
kind: DockerImage
name: docker.io/openshift/origin-instsaller:v4.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo?

@bparees
Copy link
Contributor

bparees commented Jan 31, 2019

To be clear, by doing this you're not really adding it to the samples operator in any meaningful way... yes the imagestream will get created by the CVO when it installs the samples operator, but the samples operator is not going to manage the imagestream:

  1. it won't care if the import fails (will have no bearing on the samples operator reporting available)
  2. it won't restore it if you modify/delete it (of course the CVO will)
  3. it won't apply any of its platform or registry hostname configuration logic to the pullspec of the imagestream

I assume you understand and are ok with that.

@bparees
Copy link
Contributor

bparees commented Jan 31, 2019

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Jan 31, 2019

it won't care if the import fails (will have no bearing on the samples operator reporting available)

CVO will still report in that case that something is failing via its status

it won't restore it if you modify/delete it (of course the CVO will)

Yeah, I think this is ok

it won't apply any of its platform or registry hostname configuration logic to the pullspec of the imagestream

Since release payloads are single architecture, we're going to need to sort out platform stuff eventually, but the CLI image should be the one in the payload. I think we can get away without these for now and revisit (we can move management from CVO to your operator).

@bparees
Copy link
Contributor

bparees commented Jan 31, 2019

CVO will still report in that case that something is failing via its status

the CVO will recognize that the imagestream import failed? Not just that the creation failed, but that the actual import failed?

@smarterclayton
Copy link
Contributor Author

the CVO will recognize that the imagestream import failed? Not just that the creation failed, but that the actual import failed?

e2e runs will start failing

Add installer, which was the next dependency we need to include with
the cluster.
@bparees
Copy link
Contributor

bparees commented Jan 31, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 31, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 31, 2019
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 28110bd into openshift:master Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants