-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(appset): ApplicationSet in any namespace #12378
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #12378 +/- ##
========================================
Coverage 49.64% 49.65%
========================================
Files 257 258 +1
Lines 43948 44423 +475
========================================
+ Hits 21820 22060 +240
- Misses 19981 20193 +212
- Partials 2147 2170 +23
☔ View full report in Codecov by Sentry. |
Took the opportunity to add a test for applicationset server |
@speedfl I haven't dived into this yet, but: for appsets outside of the |
@crenshaw-dev you are right, it will take the secrets into the It can represent a security concern however after thinking about it I arrived to this conclusion:
Maybe an addendum in the doc could be required |
@speedfl yep I think good documentation should do the trick. I need to implement a change to allow-list SCMs so folks can't exfiltrate secrets by setting |
@crenshaw-dev I pushed an update on the documentaion |
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
f27005c
to
06d70cc
Compare
Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com>
Can you guys do the review? We would like to leverage this feature. |
@robertvarjasi probably not in time for 2.7. I'll set it to target 2.8. |
@crenshaw-dev will the issue #11104 also be fixed within this PR? It would be great if we could decide to have App Sets in the one namespace and generated Applications in another one. |
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Looking forward to this in a coming release, we leverage apps in any namespace and just now ran into not being able to use appsets in any namespace |
Hi @crenshaw-dev could we set the milestones for this one to 2.8 ? I think this one is really a big added values. Even more than full templating as it allows to use applicationset without being an admin :) |
I don't think this is entirely true yet. Non-admin users could use appsets to exfiltrate secrets, including the Argo CD API Server key, used to sign JWTs. They could exfiltrate that secret and then use it to sign themselves an admin JWT. |
@crenshaw-dev @ishitasequeira I fixed everything 👍 |
@crenshaw-dev I looked at #9353 content. It looks really clear. |
@speedfl maybe as a new PR based on this one? Wanna make sure nothing slows down this PR, so we can definitely get it into 2.8. |
Ok I will fix conflict as soon as possible! |
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
All done @crenshaw-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small things, I hope. :-)
cmd/argocd-applicationset-controller/commands/applicationset_controller.go
Outdated
Show resolved
Hide resolved
cmd/argocd-applicationset-controller/commands/applicationset_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: gmuselli <geoffrey.muselli@gmail.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Thanks a lot @crenshaw-dev 🙂 |
* 12107: ApplicationSet in any namespaces Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: fix build Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com> * 12107: Fix lint Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix After review 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix After review 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix after rebase Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix syncspolicy after rebase Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix tests labels Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix tests labels 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix after review Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * match existing appset controller arg pattern Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * remove unused env var Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* 12107: ApplicationSet in any namespaces Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: fix build Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com> * 12107: Fix lint Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix After review 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix After review 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix after rebase Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix syncspolicy after rebase Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix tests labels Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix tests labels 2 Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * 12107: Fix after review Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> * match existing appset controller arg pattern Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * remove unused env var Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: gmuselli <geoffrey.muselli@gmail.com> Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: gmuselli geoffrey.muselli@gmail.com
Closes #10655
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: