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

OCPBUGSM-29619 map clusterdeployment to infraenv from all namespaces #1840

Merged
merged 1 commit into from May 26, 2021

Conversation

danielerez
Copy link
Contributor

In order to support deploying infraenv CRD before CD/ACI
when using a different namespace, list infraenvs from all namespaces.

@openshift-ci openshift-ci bot requested review from avishayt and eliorerz May 26, 2021 13:50
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 26, 2021
@danielerez
Copy link
Contributor Author

danielerez commented May 26, 2021

/cc @rollandf @filanov
/uncc @avishayt @eliorerz

@openshift-ci openshift-ci bot requested review from rollandf and filanov and removed request for avishayt and eliorerz May 26, 2021 13:50
@filanov
Copy link
Contributor

filanov commented May 26, 2021

please change the comment and the title to https://issues.redhat.com/browse/OCPBUGSM-29619 the MGMT-6474 is obsolete

@danielerez danielerez changed the title MGMT-6474 map clusterdeployment to infraenv from all namespaces OCPBUGSM-29619 map clusterdeployment to infraenv from all namespaces May 26, 2021
@@ -1124,6 +1124,43 @@ var _ = Describe("[kube-api]cluster installation", func() {
Expect(cluster.ImageGenerated).Should(Equal(true))
})

It("deploy infraEnv in default namespace before clusterDeployment", func() {
// Deploy InfraEnv in default namespace
err := kubeClient.Create(ctx, &v1beta1.InfraEnv{
Copy link
Contributor

Choose a reason for hiding this comment

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

the cleanup will not remove from a default namespace, please add a defer that remove this after this test is over.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

right, added.

In order to support deploying infraenv CRD before CD/ACI
when using a different namespace, list infraenvs from all namespaces.
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2021
@openshift-ci
Copy link

openshift-ci bot commented May 26, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danielerez, filanov

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-merge-robot openshift-merge-robot merged commit bdac06c into openshift:master May 26, 2021
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants