Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

ApplicationSet remains in degraded state forever #590

Open
lbaschiera-tdh opened this issue Jun 16, 2022 · 0 comments
Open

ApplicationSet remains in degraded state forever #590

lbaschiera-tdh opened this issue Jun 16, 2022 · 0 comments

Comments

@lbaschiera-tdh
Copy link

Hi all,

Little bit of context:
I have an ArgoCD installation that currently manages 3 clusters: Dev, Stage and Loadtest. Applications are first installed into Dev, and then promoted to Loadtest and Stage in the same step.
For each of them, I have an ApplicationSet that deploys the Helm charts contained in my configuration repository, with the following structure (Based on this argo-cd issue and this approach):

.
├── base
│   ├── chart-1
│   └── chart-2
└── dev
    ├── only-dev-chart-1
    ...
    └── only-dev-chart-n

Dev AppSet creates an app out of each chart in ./dev and ./base, while Stage and Loadtest AppSets create apps only for charts in ./base

The issue I'm currently facing is that when I promote one chart from Dev to Stage and Loadtest (This translates into moving the helm chart from ./dev to ./base), the ApplicationSet for Dev is marked as 'degraded' and the Health detail is:

ApplicationSet appset-dev contains applications with duplicate name: dev-chart-x
Even though there's only one Application named dev-chart-x with the correct NEW repo path, that is ./base/chart-x.

I have tried hard refreshing the cache for the Application in charge of deploying the ApplicationSets and deleting the dev-chart-x Application and syncing for it to be reinstalled, but the AppSet is still in degraded state and I can't find a way to fix it.

Any ideas on how to proceed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant