Skip to content

canonical/lego-base-k8s-operator

Repository files navigation

LEGO Base Operator (K8s)

CharmHub Badge

LEGO Base Operator is a placeholder charm that contains the lego_client library. The library contains a base charm implements the provider side of the tls-certificates-interface to provide signed certificates from an ACME servers, using LEGO. It should be used as a base for charms that need to provide TLS certificates.

Usage

While it is possible to deploy this charm, it is essentially a no-op, and not what this charm was designed for. The charm should be used to access the lego_client library.

To get started using the library, you need to fetch the library using charmcraft.

charmcraft fetch-lib charms.lego_base_k8s.v0.lego_client

You will also need to add the following library to the charm's requirements.txt file:

  • jsonschema
  • cryptography