No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dockerfiles add utils directory Dec 19, 2018
reconcile handle ldap race condition gracefully (#13) Feb 12, 2019
utils fix typos (#14) Feb 17, 2019
.dockerignore Remove fixtures from .gitignore Dec 17, 2018
.gitignore LDAP and GitLab integration (#12) Feb 12, 2019
LICENSE Create LICENSE Feb 3, 2019
Makefile use current .docker dir if present Jan 9, 2019
README.md fix typos (#14) Feb 17, 2019
build_deploy.sh
config.toml.example fix typos (#14) Feb 17, 2019
setup.py LDAP and GitLab integration (#12) Feb 12, 2019
tox.ini LDAP and GitLab integration (#12) Feb 12, 2019

README.md

qontract-reconcile

Tool to reconcile services with their desired state as defined in the app-interface DB.

Subcommands

  • qontract-reconcile github: Configures the teams and members in a GitHub org.
  • qontract-reconcile quay-membership: Configures the teams and members in Quay.
  • qontract-reconcile openshift-rolebinding: Configures Rolebindings in OpenShift clusters.
  • qontract-reconcile quay-repos: Creates and Manages Quay Repos.
  • qontract-reconcile ldap-users: Removes users which are not found in LDAP search.

Usage

Use config.toml.example as a template to create a config.toml file.

Run a reconcile integration like this:

qontract-reconcile <subcommand> --config config.toml --dry-run

# review output and run without `--dry-run` to perform actual changes
qontract-reconcile <subcommand> --config config.toml

Installation

Create and enter the virtualenv environment:

virtualenv venv
source venv/bin/activate

Install the package:

python setup.py install

# or alternatively use this for a devel environment
python setup.py develop

Requirements

Please see setup.py.

Licence

Apache License Version 2.0.

Authors

These tools have been written by the Red Hat App-SRE Team.