screwdriver-cd / screwdriver

An open source build platform designed for continuous delivery.
http://screwdriver.cd
Other
1.02k stars 170 forks source link

Add TLS support to UI docker container #377

Closed d2lam closed 6 years ago

d2lam commented 7 years ago

SUMMARY

What we tried

First attempt

Second attempt

What worked - sorta

Third attempt

TODO

Resources: http://nginx.org/en/docs/http/configuring_https_servers.html

Where we are (12/5/16)

We tried to make nginx.conf read from environment variables:

bdangit commented 7 years ago

If you terminate SSL at the Pod level, you should take advantage of K8s Secrets API. You get to volume mount those files to where you will need them. It will be a whole lot better instead of feeding in a very "return line" (aka \n) sensitive string via environment vars.

stjohnjohnson commented 6 years ago

Closing in favor of using SSL terminated ingress like NGinx.