feat: allow dynamic loading of ArgoCD URLs from secrets#5521
feat: allow dynamic loading of ArgoCD URLs from secrets#5521ksawerykarwacki wants to merge 5 commits intoakuity:mainakuity/kargo:mainfrom ksawerykarwacki:feature/4971-dynamic-argocd-urlsksawerykarwacki/kargo:feature/4971-dynamic-argocd-urlsCopy head branch name to clipboard
Conversation
Signed-off-by: Ksawery Karwacki <ksawery.karwacki@gmail.com>
✅ Deploy Preview for docs-kargo-io canceled.
|
Resolved conflict in pkg/server/server.go: - Removed serviceAccountsDB field (upstream change) - Preserved argoCDURLStore field (feature change)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5521 +/- ##
==========================================
+ Coverage 56.29% 56.42% +0.13%
==========================================
Files 426 428 +2
Lines 32262 32432 +170
==========================================
+ Hits 18163 18301 +138
- Misses 13045 13077 +32
Partials 1054 1054 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Ksawery Karwacki <ksawery.karwacki@gmail.com>
3391533 to
6300c69
Compare
Fixes linter warnings about unused parameters in test reactor functions. Signed-off-by: Ksawery Karwacki <ksawery.karwacki@gmail.com>
|
I understand the value of the proposed change, but am perplexed by the approach. Why would Secrets be used for this purpose? In general, I'd like us to be doing a lot less with Secrets when it's feasible to do so. I don't see what's sensitive about this configuration and it predicates the proper functioning of this feature on relatively privileged level of access. Even if the API server might already have that, this shouldn't become one of the reasons it does. Why wouldn't this have been art of |
Summary
Add support for dynamically loading ArgoCD shard URLs from Kubernetes secrets without requiring Helm chart redeployment.
kargo.akuity.io/argocd-shard=truein the Kargo namespace are watched and used to configure ArgoCD shard URLsSecret Format
Closes #4971