Enqueue the previous Argo CD instance when NamespaceManagement consent is withdrawn
Mantenedores costumam responder em até 1 dia
@Gabrielandre02 já está trabalhando nisso.
Desde 13/11/2026.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Go
- Estrelas
- 190
- Forks
- 367
- Merge médio
- 4d 2h
- PRs com merge (30d)
- 63
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de redhat-developer/gitops-operator
-
Manager does not detect Route CRD that appears after startupTalvez já em andamento @atishay-kasliwal assumiu hoje. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
redhat-developer/gitops-operator#1566 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
NamespaceManagement revocation checks labels on the wrong namespaceTalvez já em andamento @Rizwana777 assumiu há 3 dias. Abertakind/bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
redhat-developer/gitops-operator#1559 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Deleting an ArgoCD instance removes RBAC belonging to same-named instancesTalvez já em andamento @Rizwana777 assumiu há 3 dias. Abertakind/bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
redhat-developer/gitops-operator#1558 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
NamespaceManagement cleanup can delete RBAC in unrelated namespacesTalvez já em andamento @Rizwana777 assumiu há 3 dias. Abertakind/bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 22/100
redhat-developer/gitops-operator#1557 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
ApplicationSet tokenRef strict mode changes only apply after the controller is restartedTalvez já em andamento @Gabrielandre02 assumiu há 5 dias. Aberta
redhat-developer/gitops-operator#1554 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de redhat-developer/gitops-operator
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
mozilla-ai/cq#601 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia