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

up/profile: check for Spaces on 'up profile set space' #406

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Oct 31, 2023

Description of your changes

We check that there is a upbound-system/mxe-controller deployment.

Based on #405

Follow-up of #400.

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

  • manually running up profile set space against a Space and against a non-Space kube cluster
  • added unit tests for happy case and two unhappy cases.

},
},
"KubeClientError": {
reason: "There is no upbound/mxe-controller in the cluster.",
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: This string describes a different test case.

Copy link
Contributor 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: Dr. Stefan Schimanski <stefan.schimanski@upbound.com>
@sttts sttts merged commit 476d617 into upbound:main Nov 1, 2023
6 checks passed
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