new: [zato] auto schedule crt renew from letsencrypt certs
This commit is contained in:
11
zato/actions/renew_crt
Executable file
11
zato/actions/renew_crt
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# compose: no-hooks
|
||||
|
||||
## Merged letsencrypt certificate for load_balancer in zato
|
||||
|
||||
. $CHARM_PATH/lib/common
|
||||
|
||||
DOMAIN=$(relation:get "$SERVICE_NAME":web-proxy domain)
|
||||
|
||||
|
||||
merge_crt_letsencrypt "$DOMAIN" || exit 1
|
Reference in New Issue
Block a user