-
-
Notifications
You must be signed in to change notification settings - Fork 32
Make st2web use HTTP by default #20
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
Conversation
If ST2WEB_HTTPS=1 (default 0), configure HTTPS.
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.
The code looks good 👍
I like how clean is https diff.
Before merging, you'll also need a st2web/Readme.md update and PR for stackstorm-ha which will change everything to HTTP and remove SSL certs from the Helm values.yaml.
| > Warning! All 3 services should be DNS/network accessible for `st2web` container to start properly. Thanks to K8s pod restarts, it's not a problem. | ||
| ### Secrets | ||
| > Note! You may safely ignore this section if `ST2WEB_HTTPS` is set to `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.
👍
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.
Good work on making st2web Dockerfile more flexible! 👍
Resolves StackStorm/stackstorm-k8s#6.
Change st2web Docker image so it will respond on HTTP by default (currently HTTPS).
We keep existing HTTPs configuration optional via
ST2WEB_HTTPS=1(default0) or similar ENV variable that's passed to st2web Docker container.