-
Notifications
You must be signed in to change notification settings - Fork 39
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
Bug 2078531: add an option expose all endpoints on plain HTTP port (#71) #74
Bug 2078531: add an option expose all endpoints on plain HTTP port (#71) #74
Conversation
/test all |
@vrutkovs: This pull request references Bugzilla bug 2078531, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
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. |
This passes locally :/ /test test |
Codecov Report
@@ Coverage Diff @@
## main #74 +/- ##
==========================================
+ Coverage 66.92% 68.00% +1.07%
==========================================
Files 16 17 +1
Lines 774 825 +51
==========================================
+ Hits 518 561 +43
- Misses 160 165 +5
- Partials 96 99 +3
|
/hold until openshift/release#28257 adds subsystem-aws test |
@vrutkovs: This pull request references Bugzilla bug 2078531, which is valid. 3 validation(s) were run on this bug
In response to this:
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. |
8e71b17
to
1caf5ee
Compare
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.
Can you also add a test case in servers_test.go
for the behavior that prompted the revert? So "https" port provided, but no certs should start just the http server on the https port.
76a38f4
to
d0dbfe3
Compare
/refresh |
d0dbfe3
to
5292763
Compare
Since we're not setting the certs, would it be more correct to also change Ideally we'll make this change everywhere we're not explicitly using https and we should then be able to simplify the logic when we start the server, right? |
Can you also update the configuration section of the README? |
2f4b240
to
8444886
Compare
…penshift#71) * main: add an option expose all endpoints on plain HTTP port IPXE flow requires artifacts to be available via HTTP. This change would ensure that if `LISTEN_HTTP_PORT` env var is set and HTTPS cert/key are set, the same endpoints are exposed on plain HTTP port as well * main: shutdown http/https servers gracefully * main: move server handling into internal/servers
@vrutkovs: The following test 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. |
This lets users inject additional middleware conditionally
When both HTTPS and HTTP handlers are running only pxe-initrd can be fetched via HTTP
8444886
to
6ea164a
Compare
/test e2e-metal-assisted |
@vrutkovs: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
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. |
/test edge-e2e-metal-assisted |
/unhold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin, vrutkovs 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 |
@vrutkovs: Some pull requests linked via external trackers have merged:
The following pull requests linked via external trackers have not merged:
These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 2078531 has not been moved to the MODIFIED state. In response to this:
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. |
This re-introduces #71 with a few changes:
internal/services
topkg/services
so that this could be reused in assisted-serviceInit
inNew