Skip to content

Commit

Permalink
Merge pull request #29 from georgesimms/gs-nginx
Browse files Browse the repository at this point in the history
feat: Port the mirror operator to nginx
  • Loading branch information
stuart-warren authored Nov 16, 2018
2 parents 3e897c4 + 9fb1e1d commit e50bbb3
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 150 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ coverage.xml
*.cover
.hypothesis/
.pytest_cache/
cover/

# Environments
.env
Expand Down
5 changes: 3 additions & 2 deletions mirroroperator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ def watch_registry_mirrors(self):
status = HTTPStatus(e.status)
if status == HTTPStatus.NOT_FOUND:
raise NoCRDException("CRD not found. Please ensure you create a CRD with group - %s,"
"version - %s and plural - %s before this operator can run.",
CRD_GROUP, CRD_VERSION, CRD_PLURAL)
"version - %s and plural - %s before this operator can run.",
CRD_GROUP, CRD_VERSION, CRD_PLURAL)
else:
LOGGER.exception("Error watching custom object events", exc_info=True)


if __name__ == '__main__':
logging.basicConfig(level=logging.INFO)

Expand Down
Loading

0 comments on commit e50bbb3

Please sign in to comment.