Company
Date Published
Author
Jim Sheldon
Word count
983
Language
English
Hacker News points
None

Summary

Jim Sheldon explores various strategies for managing GitOps code, emphasizing the advantages and drawbacks of different repository structures, such as combining application and infrastructure code in a single repository versus using separate repositories for each environment. He argues that while a unified repository can simplify version control and reduce context switching for developers, it lacks privilege separation, which can be critical for some organizations. Conversely, having separate repositories for each environment offers better privilege separation and makes it easier to manage user access, albeit with a higher risk of configuration drift and increased complexity for developers. Sheldon suggests that the method of having one repository per environment is the most future-proof, providing flexibility to collapse repositories if separation becomes unnecessary. The blog also highlights the support offered by Harness' suite of products for various GitOps practices, encouraging readers to explore its features through a free trial or guided tour.