Entry point is k53certbot/cli.py
in function main()
poetry run k53certbot
make test
poetry shell
k53certbot
is a shim generated automatically by poetry, see pyproject.toml
.
In Cluster
kubernetes.config.load_incluster_config()
Authentication is automatic. In-cluster config is loaded from well-known-files
On workstation
Run with --use-active-kube-context
to use active kubernetes context, like this:
ZEROSSL_API_KEY=NOUSE CERTBOT_ADMIN_EMAIL=dummy@dummy poetry run k53certbot --debug --dry-run --use-active-kube-context --provider zerossl