-
Notifications
You must be signed in to change notification settings - Fork 73
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
fix: devfile endpoint with single-host exposure #157
fix: devfile endpoint with single-host exposure #157
Conversation
…devfile endpoint exposure is enabled Signed-off-by: Michal Vala <mvala@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
Signed-off-by: Michal Vala <mvala@redhat.com>
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
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.
A fine piece of detective work 👍🏼 Just a small readability nitpick otherwise LGTM.
.../eclipse/che/api/workspace/server/devfile/convert/component/ComponentToWorkspaceApplier.java
Outdated
Show resolved
Hide resolved
[crw-ci-test] |
❌ E2E Happy path tests failed ❗ See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
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.
✅ E2E Happy path tests succeed 🎉 See Details
Test product:
Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe |
…devfile endpoint exposure is enabled
Signed-off-by: Michal Vala mvala@redhat.com
What does this PR do?
See analysis of eclipse-che/che#20593
This PR basically checks the
CHE_INFRA_KUBERNETES_SINGLEHOST_WORKSPACE_DEVFILE__ENDPOINT__EXPOSURE
and setrequireSubdomain
only for cases when it is notsingle-host
.Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#20593
How to test this PR?
latest image
quay.io/mvala/che-server:gh20593-singleHostDevfileEndpoint
chectl server:deploy --platform openshift --cheimage=quay.io/mvala/che-server:gh20593-singleHostDevfileEndpoint --che-operator-cr-patch-yaml=patch.yml
where patch.yml is:GET /workspace
request, it must have server for the devfile endpoint with proper path suffix, like/
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.