-
Notifications
You must be signed in to change notification settings - Fork 244
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
Removes invalid endpoints from the devfile on triggering url create. #4567
Removes invalid endpoints from the devfile on triggering url create. #4567
Conversation
4befc35
to
95fe989
Compare
95fe989
to
6d086e9
Compare
/hold There's no response on the discussion on the original issue. While discussing this issue on the planning call, it was the most unclear issue! Everyone was confused about what's wrong with the current behaviour and what's the expectation. I request more clarity around these matters before starting code. |
6d086e9
to
9a95980
Compare
9a95980
to
34abbcb
Compare
/retest |
/hold cancel |
@mik-dass @kadel this one's going to require documentation for odo.dev. IIUC, we've discussed a bunch of scenarios and made changes based on this. At the moment, I don't see a dedicated page to explain |
This looks good to me ! For the devfile used in https://github.com/OpenLiberty/application-stack-intro/blob/main/devfile.yaml which has a single endpoint: - exposure: public
path: /
name: ep1
targetPort: 9080
protocol: http the Url:
and without updating the devfile. Follow-upReminding myself we need to go back and update this getting started doc: It's not like we try to explain I'll keep an eye on this or let me know, and I can change the doc then. |
go.mod
Outdated
@@ -64,6 +64,7 @@ require ( | |||
k8s.io/cli-runtime v0.17.0 | |||
k8s.io/client-go v12.0.0+incompatible | |||
k8s.io/klog v1.0.0 | |||
k8s.io/klog/v2 v2.0.0 |
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.
this doesn't seem to be used anywhere
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.
I have rebased the PR.
34abbcb
to
6f1cdf1
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mik-dass 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 |
original devfile
after running
My expectation was that in this case |
Since |
hmm, I can see. That is also a valid angle. ok. |
/retest |
/lgtm |
/hold |
/hold cancel |
/retest Please review the full test history for this PR and help us cut down flakes. |
/hold |
It also modifies the error messages when no port is provided. Signed-off-by: mik-dass <mrinald7@gmail.com>
6f1cdf1
to
28e55eb
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mik-dass 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 |
/lgtm |
@mik-dass: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
What type of PR is this?
/kind bug
What does does this PR do / why we need it:
It also modifies the error messages when no port is provided.
Which issue(s) this PR fixes:
Fixes #4493
PR acceptance criteria:
Unit test
Integration test
Documentation
I have read the test guidelines
How to test changes / Special notes to the reviewer:
odo url create
on a kubernetes cluster.