The Cloud Native Application Proxy
go
letsencrypt
docker
kubernetes
golang
microservice
consul
load-balancer
zookeeper
marathon
etcd
mesos
reverse-proxy
-
Updated
Feb 20, 2021 - Go
In all of our current uses of
os.umaskorfilesystem.umask, we always temporarily set it to a different value and then restore it using atry/finallyblock. I expect this pattern to continue.Because of that, why don't we create a simple function in
certbot.utilthat can be used as a context manager to set umask to a value and restore it to its previous value when exiting thewithblo