Ways to Structure Code in Your GitOps Repos
Blog post from Harness
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.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 2 | 1,025 | 176 | 70 | -37% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.