ea99c79844
Currently there isn't a uniform or easily expandable way to manage how Pegleg gets credentials or enforces any complexity on them. This patchset attempts to address this by: 1. Moving all logic for credentials into config.py 2. Using PeglegSecretManagement as the source of interfacing with config.py as this code is the entry point for any encryption or decryption work 3. Remove unnecessary code related to this change 4. Update unit tests In future patchsets the goal is to use these changes to add in a global passphrase and salt variable into config.py so that encrypt/decrypt type commands can be executed one time against a site and intelligently handle retrieval of global credentials for use with global secrets, site credentials in the form of environment variables will remain used for site secrets and will not be overridden by any global operations. Change-Id: I0b6acd3ef5eab6b1f8931f46544bc53443f5c2c0 |
||
---|---|---|
doc | ||
images/pegleg | ||
pegleg | ||
releasenotes | ||
site_yamls/site | ||
tests | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.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: