← sources

How are you handling argocd poject generation ?

source: reddit (reddit:devops)published 2026-06-06 15:30ingested 2026-06-07 08:48

retained text

<!-- SC_OFF --><div class="md"><p>Hi,</p> <p>I was wondering how are people here handling ArgoCD Projects when using ApplicationSets?</p> <p>Most &quot;best practices&quot; and examples I've seen use <code>project: default</code> in their ApplicationSet code, which is a known bad practice...</p> <p>My goal: one ApplicationSet for my infra apps (cert-manager, Kyverno, etc.), with each app assigned its own dedicated ArgoCD AppProject for isolation.</p> <p>I've considered two approaches, but neither feels right:</p> <ol> <li><strong>Templating an AppProject</strong> and rendering it from a <code>values.yaml</code> that maps each app to its project. This works, but feels messy and hard to maintain once you want fine-grained restrictions per project.</li> <li><strong>One AppProject file per app.</strong> Cleaner in theory, but inefficient at scale if I end up using a matrix generator to handle multiple clusters</li> </ol> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/kubedespair"> /u/kubedespair </a> <br /> <span><a href="https://www.reddit.com/r/devops/comments/1tykav4/how_are_you_handling_argocd_poject_generation/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/devops/comments/1tykav4/how_are_you_handling_argocd_poject_generation/">[comments]</a></span>

document fetched 2026-06-07 08:48