Skip to content

Conversation

@warrenvw
Copy link
Contributor

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 (default 0) or similar ENV variable that's passed to st2web Docker container.

If ST2WEB_HTTPS=1 (default 0), configure HTTPS.
@warrenvw warrenvw added enhancement New feature or request RFR Request For Review Docker labels May 28, 2019
@warrenvw warrenvw requested a review from arm4b May 28, 2019 21:49
@warrenvw warrenvw self-assigned this May 28, 2019
Copy link
Member

@arm4b arm4b left a 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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@arm4b arm4b left a 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! 👍

@warrenvw warrenvw merged commit 848a3e3 into master May 31, 2019
@warrenvw warrenvw deleted the default/http branch May 31, 2019 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docker enhancement New feature or request RFR Request For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

K8s Ingress Controller

3 participants