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
OCPBUGSM-29619 map clusterdeployment to infraenv from all namespaces #1840
Conversation
please change the comment and the title to https://issues.redhat.com/browse/OCPBUGSM-29619 the MGMT-6474 is obsolete |
064fed3
to
2c348e1
Compare
@@ -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{ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
2c348e1
to
37528c5
Compare
[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 |
In order to support deploying infraenv CRD before CD/ACI
when using a different namespace, list infraenvs from all namespaces.