Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Service Account argocd-applicationset-controller need in permissions on listing appprojects #19059

Open
3 tasks
BoyFromDubai opened this issue Jul 15, 2024 · 2 comments
Labels
bug/in-triage This issue needs further triage to be correctly classified bug Something isn't working component:applications-set Bulk application management related type:bug

Comments

@BoyFromDubai
Copy link

BoyFromDubai commented Jul 15, 2024

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

Service Account argocd:argocd-applicationset-controller needs in permissions for listing appprojects

To Reproduce

We are using app of apps pattern, where applications generate applicationsets, so faced this issue after upgrading to pre-release version

Expected behavior

Applicationset is able to generate applications

Screenshots

Version

v2.12.0-rc1

Logs

E0715 15:51:16.144024       7 reflector.go:147] pkg/mod/k8s.io/client-go@v0.29.6/tools/cache/reflector.go:229: Failed to watch *v1alpha1.AppProject: failed to list *v1alpha1.AppProject: appprojects.argoproj.io is forbidden: User "system:serviceaccount:argocd:argocd-applicationset-controller" cannot list resource "appprojects" in API group "argoproj.io" in the namespace "argocd"
@BoyFromDubai BoyFromDubai added the bug Something isn't working label Jul 15, 2024
@alexmt alexmt added bug/in-triage This issue needs further triage to be correctly classified component:applications-set Bulk application management related type:bug labels Jul 15, 2024
@ishitasequeira
Copy link
Member

This should be fixed by #18943 and available in latest RCs. @BoyFromDubai can you try the latest 2.12 RC and see if you are still facing the issue?

hodorov added a commit to hodorov/argo-cd that referenced this issue Aug 8, 2024
Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
hodorov added a commit to hodorov/argo-cd that referenced this issue Aug 8, 2024
Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
@hodorov
Copy link
Contributor

hodorov commented Aug 8, 2024

@ishitasequeira fix don't work for cluster-rbac install, PR #8943 change only Role, ClusterRole is missing. Prepare PR to fix this - #19430

(Also prepare fix for argo helm chart - argoproj/argo-helm#2868)

hodorov added a commit to hodorov/argo-cd that referenced this issue Aug 8, 2024
Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
ishitasequeira pushed a commit that referenced this issue Aug 8, 2024
Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
gcp-cherry-pick-bot bot pushed a commit that referenced this issue Aug 8, 2024
Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
ishitasequeira pushed a commit that referenced this issue Aug 8, 2024
#19435)

Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
Co-authored-by: Dmitry Khodorov <el1191@woyd.ru>
ilia-medvedev-codefresh pushed a commit to ilia-medvedev-codefresh/argo-cd that referenced this issue Aug 13, 2024
…argoproj#19430)

Signed-off-by: Dmitry Khodorov <el1191@woyd.ru>
Signed-off-by: Ilia Medvedev <ilia.medvedev@codefresh.io>
reggie-k pushed a commit to reggie-k/argo-cd that referenced this issue Aug 14, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug/in-triage This issue needs further triage to be correctly classified bug Something isn't working component:applications-set Bulk application management related type:bug
Projects
None yet
Development

No branches or pull requests

4 participants