-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
bugSomething isn't workingSomething isn't workingtriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified
Description
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version.
Describe the bug
Currently when you create an Application, the resources section does not appear because the function is called before app creation. Only after a reconcile, like adding annotation will the resource appear.
This is not desirable for the UI as the AppSet will show no apps on the details page until after a reconcile.
To Reproduce
Apply an AppSet
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: argocd-self-managed
namespace: argocd
spec:
generators:
- list:
elements:
- name: argocd
template:
metadata:
name: '{{name}}-argocd'
spec:
project: default
source:
repoURL: https://github.com/argoproj/argoproj-deployments
path: argocd
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: argocd
Notice no resources section
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
...
status:
conditions:
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: All applications have been generated successfully
reason: ApplicationSetUpToDate
status: "False"
type: ErrorOccurred
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: Successfully generated parameters for all Applications
reason: ParametersGenerated
status: "True"
type: ParametersGenerated
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: All applications have been generated successfully
reason: ApplicationSetUpToDate
status: "True"
type: ResourcesUpToDate
health:
message: All applications have been generated successfully
status: Healthy
After Kubectl annotate then i see resources
status:
conditions:
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: All applications have been generated successfully
reason: ApplicationSetUpToDate
status: "False"
type: ErrorOccurred
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: Successfully generated parameters for all Applications
reason: ParametersGenerated
status: "True"
type: ParametersGenerated
- lastTransitionTime: "2026-02-18T19:59:38Z"
message: All applications have been generated successfully
reason: ApplicationSetUpToDate
status: "True"
type: ResourcesUpToDate
health:
message: All applications have been generated successfully
status: Healthy
resources:
- group: argoproj.io
health:
status: Degraded
kind: Application
name: argocd-argocd
namespace: argocd
status: Synced
version: v1alpha1
resourcesCount: 1
Expected behavior
resources should populate right after creation
Screenshots
Version
Paste the output from `argocd version` here.Logs
Paste any relevant application logs here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified