Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rjshrjndrn/certbot-autoupdater
Let's Encrypt SSL auto-update for Kubernetes
https://github.com/rjshrjndrn/certbot-autoupdater
devops-tools kubernetes lets-encrypt letsencrypt letsencrypt-certificates letsencrypt-utils nginx ssl
Last synced: 13 days ago
JSON representation
Let's Encrypt SSL auto-update for Kubernetes
- Host: GitHub
- URL: https://github.com/rjshrjndrn/certbot-autoupdater
- Owner: rjshrjndrn
- Created: 2021-12-11T04:49:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-11T05:19:56.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T19:13:57.095Z (27 days ago)
- Topics: devops-tools, kubernetes, lets-encrypt, letsencrypt, letsencrypt-certificates, letsencrypt-utils, nginx, ssl
- Language: Dockerfile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Reason
I'm using nginx as daemonset, rather than kubernetes ingress, along with Let's Encrypt as SSL. One issue I face is the renewal of the certificate every 3 months.
## Solution
Another certbot auto updater script. Only difference is this is a complete package. You can just change few variables, apply to your cluster, and forget about SSL.
## How to use
* Open certbot-autoupdater.yaml and change following variables.
- Mandatory:
- `DOMAIN` Change the value it to your domain name. For example, dev.myorg.com.
- `EMAIL` Change the value it to which email address you want SSL related news should come to.
- `ingress-cert` Change it to your ssl secret name in kuberentes. For example it can be `nginx-certificate` or so. Refer line number `61` and `102`
- Change the `Name of nginx deployment/daemonset`. Refer line number `65`,`66`,`92`
- Change the `Type of nginx installation`. Refer line number `94`. For example it can be `deployments` if you're using deployment.
- Optional:
- If you created the certificate using `kubectl crete secret --type ..` the key will be `tls.key` and `tls.crt`. If that's different, please search and change that too. Refer line number `62` and `63`
> Space in front of the string is mandatory.
* Install application.
- Note: This app should be running on the same namespace as your nginx deployment/daemonset.
- `kubectl apply -f certbot-autoupdater.yaml -n `