7018d5941c
This patch adds functionality Pegleg currently lacks: the ability to regenerate expired certificates. This patch adds: 1. CLI toggle --regenerate-all to generate_pki. Default is False, which means if no certificates are present, generate what is in the pki catalogue. If new certs have been added to the catalogue generate just those. If the --regenerate-all flag is True, then Pegleg will ignore any existing certs and regenerate (or generate for the first time) all certificates defined in the PKI catalogue. 2. Documentation updates for CLI change. 3. Updates to pki_utility to accomodate the new flag. 4. Updates pki_generator methods to use rendered documents to accommodate documents that have to be layered. 5. Updates pki_generator unit tests to include a layering definition which is now required to run the commands. Change-Id: I2d8086770e9226e44598ef40eca790981279f626 |
||
---|---|---|
doc | ||
images/pegleg | ||
pegleg | ||
releasenotes | ||
site_yamls/site | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.readthedocs.yaml | ||
.style.yapf | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.rst | ||
requirements.txt | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Pegleg
Introduction
Pegleg is a document aggregator that provides early linting and validations via Deckhand, a document management micro-service within Airship.
Pegleg supports local and remote Git repositories. Remote repositories can be cloned using a variety of protocols -- HTTP(S) or SSH. Afterward, specific revisions within those repositories can be checked out, their documents aggregated, linted, and passed to the rest of Airship for orchestration, allowing document authors to manage their site definitions using version control.
Find more documentation for Pegleg on Read the Docs.
Core Responsibilities
- aggregation - Aggregates all documents required for site deployment across multiple Git repositories, each of which can be used to maintain separate document sets in isolation
- linting - Configurable linting checks documents for common syntactical and semantical mistakes
Getting Started
For more detailed installation and setup information, please refer to the Getting Started guide.
Integration Points
Pegleg has the following integration points: