HTTPRequest Lego provider
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 51 | 27 May 2025 | |
latest/edge | 62 | 18 Aug 2025 |
juju deploy httprequest-lego-provider
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
How to manage domains
To manage the list of domains a user is allowed to view or request changes to, the following actions are available:
allow-domains
revoke-domains
list-domains
The allow-domains
and revoke-domains
support the following inputs:
domains
: This input is used to allow a user access to a particular domain only. For example, if we runallow-domains
withdomains="example.domain.com"
, the user will be able to request a certificate forexample.domain.com
only.subdomains
: This input is used to allow a user access to all the subdomains under a domain. For example, if we runallow-domains
withsubdomains="example.domain.com"
, the user will be able to request a certificate for any subdomain underexample.domain.com
, but not a certificate forexample.domain.com
itself or a wildcard certificate forexample.domain.com
.
The above-mentioned commands can be run with one or more of the above inputs at the same time.
Allowing domains
To add domains to the list of allowed domains, run juju run --wait=5s httprequest-lego-provider/0 allow-domains username=example domains="example.domain.com,example2.domain.com" subdomains="example.domain.com,example3.domain.com"
.
Revoking domains
To remove domains from the list of allowed domains, run juju run --wait=5s httprequest-lego-provider/0 revoke-domains username=example domains="example.domain.com,example2.domain.com" subdomains="example.domain.com,example3.domain.com"
.
Listing domains
To query the list of allowed domains for a user, run juju run --wait=5s httprequest-lego-provider/0 list-domains username=example
and the list of domains will be returned as in
result: |
example:
domains:
example.domain.com, example2.domain.com
subdomains:
example.domain.com, example3.domain.com
You can also query the list of allowed domains for all users by running juju run --wait=5s httprequest-lego-provider/0 list-domains --string-args username='*'