feat: add ability to disable letsencrypt for a given application or globally

If disabled globally, it can be re-enabled on a per-app basis by setting the `letsencrypt-server` property to `production` or `staging`.
This commit is contained in:
Jose Diaz-Gonzalez
2025-10-15 00:19:03 -04:00
parent 0becf57eb6
commit 5d4378c585
2 changed files with 26 additions and 12 deletions

View File

@@ -213,6 +213,18 @@ The default value may be set by passing an empty value for the option.
dokku scheduler-k3s:set --global letsencrypt-server staging
```
Letsencrypt can be completely disabled for a given appby setting the `letsencrypt-server` to `false`
```shell
dokku scheduler-k3s:set node-js-app letsencrypt-server false
```
The server can also be disabled globally, and then conditionally enabled on a per-app basis:
```shell
dokku scheduler-k3s:set --global letsencrypt-server false
```
### Customizing Annotations and Labels
> [!NOTE]