WIP: Apache webserver handles TLS on Ironic and Ironic-inspector sides#562
WIP: Apache webserver handles TLS on Ironic and Ironic-inspector sides#562namnx228 wants to merge 1 commit intometal3-io:masterfrom
Conversation
1d80410 to
fe7117e
Compare
|
/assign @maelk |
fe7117e to
2d35eff
Compare
| export IRONIC_DATA_DIR="$WORKING_DIR/ironic" | ||
| export IRONIC_IMAGE_DIR="$IRONIC_DATA_DIR/html/images" | ||
| export IRONIC_KEEPALIVED_IMAGE=${IRONIC_KEEPALIVED_IMAGE:-"quay.io/metal3-io/keepalived"} | ||
| #TODO: Update vars.md |
There was a problem hiding this comment.
nit:
| #TODO: Update vars.md |
2d35eff to
20e249b
Compare
|
New changes are detected. LGTM label has been removed. |
73ae4ea to
2d19311
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: namnx228 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
022098a to
f7a0f57
Compare
4662481 to
f22b468
Compare
f22b468 to
c174f9e
Compare
|
/test-integration |
smoshiur1237
left a comment
There was a problem hiding this comment.
Lets pass the CI. Otherwise Looks good to me.
| export IRONIC_IMAGE_DIR="$IRONIC_DATA_DIR/html/images" | ||
| export IRONIC_KEEPALIVED_IMAGE=${IRONIC_KEEPALIVED_IMAGE:-"quay.io/metal3-io/keepalived"} | ||
| # Option to use reverse proxy on ironic-inspector | ||
| export INSPECTOR_REVERSE_PROXY_SETUP=${INSPECTOR_REVERSE_PROXY_SETUP:-"false"} |
There was a problem hiding this comment.
I might be missing the bits, but are not we supposed to have this option enabled by default? AFAIK, IRONIC_TLS_SETUP is used by default.
Also, vars.md needs to be updated with new var.
There was a problem hiding this comment.
I was not fully clear in prev. comment, maybe. Is it the case that we will have 2 options depending on IRONIC_TLS_SETUP?:
-
IRONIC_TLS_SETUP=false==>INSPECTOR_REVERSE_PROXY_SETUP=false; -
IRONIC_TLS_SETUP=true==>INSPECTOR_REVERSE_PROXY_SETUP=false/true;
There was a problem hiding this comment.
The reason for INSPECTOR_REVERSE_PROXY_SETUP to be false is to pass the CI. Otherwise, this PR needs the PR metal3-io/baremetal-operator#728 to go in before it can pass the CI.
Thanks for reminding me about the vars. Will do now
fmuyassarov
left a comment
There was a problem hiding this comment.
LGTM, squashing the commits would be good I think.
|
Sorry I forgot to mention, you probably need to add the image for upgrade tests as well |
c174f9e to
4e24e33
Compare
|
/hold |
8874f50 to
e7de388
Compare
Add option to let Apache webserver handle TLS on Ironic and Ironic-inspector Remove the option to choose whether to use WSGI or not Remove the option to use reverse proxy for inspector Option to use reverse proxy on ironic inspector Add http_reverse_proxy to the container cleaning list Allow `make clean` to delete httpd-reverse-proxy Add new variable to vars.md Use the ironic-inspector reverse proxy <=> when ironic tls is used Revert "Add new variable to vars.md" This reverts commit 39e10ba9079700c835d381f556247c81c6d1738c.
e7de388 to
91131c8
Compare
|
/test-centos-integration |
|
@namnx228 Whats the update with this PR? |
|
I think we can close this PR. It is not needed anymore. |
This PR adds an option to let Apache web server handle TLS on Ironic and Ironic-inspector side.
Related PRs:
metal3-io/ironic-image#230
metal3-io/baremetal-operator#728
metal3-io/ironic-inspector-image#70