DEV Community

Jeffrey Hicks
Jeffrey Hicks

Posted on • Edited on

GitOps Folder Organization

Ideas

Separate Srvc & Infra Repos

  • k8s subfolder of app, doesn't work because the Infra has (or should have) different lifecycle.

Different Git Repo Per Environment

  • Because Permissions and Access Controlled Easily and Repo Level

  • Different Env (Dev, Staging & Production) have different life cycles

  • Not mentioned in video, but my own thoughts: Lowers Complexity (99 Bottles ABC) - Like in Sallies 99 Bottles of OO. A separate repo is analogous to Separate class, we can omit a lot of Assignment/Branches/Conditionals by having dedicated Repos per Env (Dev, Staging, Production)

Top comments (0)