operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

Fix default E2E_INSTALL_NS value

Open awgreene opened this issue 3 years ago • 5 comments

The e2e tests assume that OLM is installed in the operator-lifecycle-manager namespace if E2E_INSTALL_NS is not set. OLM is typically installed in the olm namespace.

Signed-off-by: Alexander Greene [email protected]

awgreene avatar Jul 15 '22 19:07 awgreene

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene

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[bot] avatar Jul 15 '22 19:07 openshift-ci[bot]

@timflannagan my only complaints with the e2e-local target are that:

  • It builds the OLM binaries and creates a new kind cluster, which slows things down when I'm trying to iterate when developing/updating a test.
  • I couldn't think of a reason that we default to operator-lifecycle-manager but our releases deploy OLM in the olm namespace.

That said, I'm not opposed to investigating a new target or modifying e2e-local to allow users to avoid building the kind cluster and binaries.

awgreene avatar Jul 21 '22 16:07 awgreene

That said, I'm not opposed to investigating a new target or modifying e2e-local to allow users to avoid building the kind cluster and binaries.

I suppose I could just do this with the existing e2e target by passing in the E2E_INSTALL_NS variable, but it still doesn't address the question why we default to operator-lifecycle-manager.

awgreene avatar Jul 21 '22 16:07 awgreene

Yeah, I typically stay away from the e2e-local workflow in favor of using an existing kind cluster, and overriding thr E2E_INSTALL_NS variable. Maybe this workflow is something we can document? I'm not too sure why the operator-lifecycle-manager namespace was chosen.

timflannagan avatar Jul 21 '22 16:07 timflannagan

@awgreene: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

openshift-merge-robot avatar Jul 29 '22 13:07 openshift-merge-robot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, perdasilva

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:
  • ~~OWNERS~~ [awgreene,perdasilva]

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

openshift-ci[bot] avatar Apr 11 '23 12:04 openshift-ci[bot]

@awgreene could you please fix the conflicts - then we can get this on in =D

perdasilva avatar Apr 11 '23 12:04 perdasilva

closing PR as stale. Please re-open if it's still important.

perdasilva avatar Feb 19 '24 13:02 perdasilva