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

Introduce additional requirements for the spaces install #350

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

tnthornton
Copy link
Member

@tnthornton tnthornton commented Aug 11, 2023

Description of your changes

  • providers (and related components) are required and will be installed
  • ingress-nginx is now required and will be installed

This removes some scope creep that was occurring with the Spaces install.

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

newrequirements.for.spaces.install.mov

- providers (and related components) are required and will be installed
- ingress-nginx is now required and will be installed

Signed-off-by: Taylor Thornton <thornton.tn@gmail.com>
@tnthornton tnthornton requested a review from a team August 11, 2023 00:25
Copy link
Contributor

@branden branden left a comment

Choose a reason for hiding this comment

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

I found a couple spots where it looks like we're creating a new context when we should be reusing an existing one. Otherwise LGTM.

if _, err := h.crdclient.
CustomResourceDefinitions().
Get(
context.Background(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be reusing the existing context?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

if _, err := k.crdclient.
CustomResourceDefinitions().
Get(
context.Background(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be reusing the existing context?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

Signed-off-by: Taylor Thornton <thornton.tn@gmail.com>
@tnthornton tnthornton merged commit 461d40c into upbound:main Aug 11, 2023
6 checks passed
@tnthornton tnthornton deleted the spaces-has-more-requirements branch August 11, 2023 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants