-
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
Odo url Ingress support #2762
Odo url Ingress support #2762
Conversation
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Signed-off-by: Stephanie <stephanie.cao@ibm.com>
Hi @yangcao77. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
@yangcao77 Please add some steps/instructions on how to test this PR in the description. |
/test v4.3-integration-e2e-benchmark |
@mik-dass I finally found out what caused the failure. These changes resolved the namespace mismatch in parallel runs, and the test finally passed. (https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/2762/pull-ci-openshift-odo-master-v4.1-integration-e2e-benchmark/1540) |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/lgtm |
/lgtm |
@yangcao77 OK, let's get this in once the CI passes. Thanks for the quick response 👍 |
What type of PR is this?
/kind feature
What does does this PR do / why we need it:
This PR implements
odo url create/list/delete/describe
support for devfilecreate
odo url create <urlName> --host <clusterIP>
would create an ingress which domain is<urlName>.<clusterIP>
--port
flag is required if the devfile has more than one ports exposed. If only one port is exposed, the flag is optional.--secured
flag is to specify if it is a secured URL.--tls-secret
flag is to specify if the user has his own tls secret want to bind with the ingressHere are the detailed information on the https support:
SerialNumber
will use time.Now() and encoded to make sure of the uniqueness.This PR contains unit tests for ingress.go, secret.go and integration test for odo url
Which issue(s) this PR fixes:
Fixes #2721
Fixes #2719
Fixes #2657
Implemented #2592
How to test changes / Special notes to the reviewer:
Automation test
make test-cmd-devfile-url
Expect result:
Manual test
git clone https://github.com/rajivnathan/openLibertyDevfile
Expected:
check the ingress existence:
check the tle secret has been created:
list the url:
describe the url:
delete the url:
check the url info has been deleted from
.odo/env/env.yaml
run
odo push
check the ingress has been deleted. but the tls secret still exist
run
odo url list
again: