Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Initial SSL for swarm tutorial #107
Motivation and Context
How Has This Been Tested?
Tested on a digital ocean swarm cluster
Types of changes
left a comment
A few typos / changes.
I think this guide should work on ARM too since traefik is multi arch:
I shall give it a run through on a Pi this afternoon.
I had to play with the quotes to get things working:
It seems that it works with double quotes as well and its the mixture of the two that causes it problems.
Before this I was plagued by:
Lucas, it'll be great to provide users with an easy way to get SSL with LE for their OpenFaaS deployments. Thanks for working on this.
Do you think there is a way to simplify the number of manual edits or use some scripts to help the user with some of the steps? Overall this looks to be much more involved than the cert-manager version. It may have to be that way, but I thought I'd mention it as my first impression.
Of hand, a script to edit the docker compose file seems like something that would be fragile and people would forget to check/test. We could create a demo project they contains the required edits, but we would need to ensure that it stays in sync with the base compose file.
A lot of the content of the tutorial is partial explanations of what is changing. We could simplify the walkthrough by reducing the amount of description and skip right to the "copy this service and chnagelog these two other lines", but I think that will make it more opeque.