Provide certificates to a charm
In this guide, we will go through the steps neccessary to use the Route53 LEGO K8s for providing certificates to another charm.
Create a Juju Model:
juju add-model <your model name>
Deploy the Route53 Lego K8s charm:
juju deploy route53-lego-k8s
Configure the charm with your ACME and AWS information:
juju config \
server=<your ACME server> \
email=<your email address> \
aws_region=<your AWS region> \
aws_hosted_zone_id=<your AWS Hosted Zone ID> \
aws_access_key_id=<your AWS Access Key ID> \
aws_secret_access_key=<your AWS Secret Access Key>
Deploy your charm that requires TLS certificates and integrate it with the Route53 Lego K8s charm:
juju deploy <your charm>
juju integrate <your charm> route53-lego-k8s