projectsyn / lieutenant-operator

The Project Syn Inventory API Operator
https://docs.syn.tools/lieutenant-operator/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Make git repo creation behaviour configurable #250

Closed glrf closed 1 year ago

glrf commented 1 year ago

This commit introduces a new field CreationPolicy for all managed resoruces. This field configures how Lieutenant handles the creation of Git repositories.

By default Lieutenant will not manage git repositories it did not create itself. This behaviour can be changed by setting the Creation Policy to adopt, which will allows Lieutenant to manage existing repositories. This can be helpful for migrations or recovery.

Checklist