Closed tumido closed 2 years ago
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
/remove-lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
/close
@sesheta: Closing this issue.
Aggregating many application across multiple repositories and deploying to multiple clusters increases a risk of an application being named the same. On the other hand the nature of the OCP platform itself limits us to unique application names only, because all the
Application
resources land in the same namespace.The situation is even more unfortunate in cases when different app-of-apps would try syncing different application specs with the same name. ArgoCD would end up with 2 competing apps syncing "the same" resource.
The possibility of this happening grows with the amount of clusters and teams onboarded.
Proposed solution
Use
namePreffix
ornameSuffix
inkustomization.yaml
for different sections ofargocd-apps
Similar to this PR: https://github.com/operate-first/argocd-apps/pull/101
This works only for well behaving apps, since it's part of the manifests Doesn't work for conflicts between
app-of-apps
- 2 different app of apps can still apply a resource with the same nameUse
Applicaton
resource parametersWorks exceptionally well for app-of-apps, since it operates on app of apps resource spec level: always makes all applications deployed via an app of apps to follow the naming scheme. Independent from the manifests deployed by app of apps
https://argoproj.github.io/argo-cd/user-guide/kustomize/#kustomize
Result of a discussion on this issue will be submitted as an ADR.