Enqueue the previous Argo CD instance when NamespaceManagement consent is withdrawn
Maintainer antworten meist innerhalb von 1 Tag
@Gabrielandre02 arbeitet bereits daran.
Seit 13.11.2026.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Read argocd-operator/controllers/argocd/util.go and the related mapper code, then inspect the event-path tests for NamespaceManagement changes. Trace deletion and reassignment when the managed-by label matches, and check how remaining valid consent affects enqueueing. Done when the event tests cover consent withdrawal and reconciliation removes stale Image Updater RBAC while existing cleanup tests still pass.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
NamespaceManagement deletion or reassignment can fail to enqueue the previously affected Argo CD instance. When the managing namespace has a matching managed-by label, the deletion predicate can skip cleanup and the instance may not reconcile. Image Updater RBAC grants in the target namespace can remain active until another reconciliation.
Required changes
Update the NamespaceManagement event handling in argocd-operator/controllers/argocd/util.go and related mapper code so deletion and reassignment enqueue the previously affected instance, including when predicate cleanup is skipped. Preserve existing cleanup behavior and account for any remaining valid consent.
Acceptance criteria
- Deletion and reassignment enqueue the previously affected instance.
- Event-path tests cover consent withdrawal, including the matching
managed-bylabel case. - Tests verify that stale Image Updater RBAC is removed after reconciliation when no valid consent remains.
- Existing cleanup behavior remains covered.
Requested by @dkarpele.
Pull request: https://github.com/redhat-developer/gitops-operator/pull/1511
Review comment: https://github.com/redhat-developer/gitops-operator/pull/1511#discussion_r4542576413
- Vorherrschende Sprache
- Go
- Sterne
- 190
- Forks
- 367
- Ø Merge
- 4 T. 2 Std.
- Gemergte PRs (30 T.)
- 63
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus redhat-developer/gitops-operator
-
Manager does not detect Route CRD that appears after startupEvtl. vergeben @atishay-kasliwal hat das heute übernommen. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
redhat-developer/gitops-operator#1566 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
NamespaceManagement revocation checks labels on the wrong namespaceEvtl. vergeben @Rizwana777 hat das vor 3 Tagen übernommen. Offenkind/bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
redhat-developer/gitops-operator#1559 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Deleting an ArgoCD instance removes RBAC belonging to same-named instancesEvtl. vergeben @Rizwana777 hat das vor 3 Tagen übernommen. Offenkind/bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
redhat-developer/gitops-operator#1558 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
NamespaceManagement cleanup can delete RBAC in unrelated namespacesEvtl. vergeben @Rizwana777 hat das vor 3 Tagen übernommen. Offenkind/bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
redhat-developer/gitops-operator#1557 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
ApplicationSet tokenRef strict mode changes only apply after the controller is restartedEvtl. vergeben @Gabrielandre02 hat das vor 5 Tagen übernommen. Offen
redhat-developer/gitops-operator#1554 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in redhat-developer/gitops-operator
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
mozilla-ai/cq#601 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag