-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
chore!: remove legacy repo support (#19768) #21249
chore!: remove legacy repo support (#19768) #21249
Conversation
Signed-off-by: Michael Crenshaw <[email protected]>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Signed-off-by: Michael Crenshaw <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21249 +/- ##
==========================================
+ Coverage 55.59% 55.67% +0.07%
==========================================
Files 340 339 -1
Lines 57419 56802 -617
==========================================
- Hits 31924 31625 -299
+ Misses 22807 22531 -276
+ Partials 2688 2646 -42 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Michael Crenshaw <[email protected]>
…backend Signed-off-by: Michael Crenshaw <[email protected]>
…backend Signed-off-by: Michael Crenshaw <[email protected]>
…backend Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
…backend Signed-off-by: Michael Crenshaw <[email protected]>
…backend Signed-off-by: Michael Crenshaw <[email protected]>
cmd/argocd/commands/admin/backup.go
Outdated
secrets, err := acdClients.secrets.List(ctx, metav1.ListOptions{}) | ||
errors.CheckError(err) | ||
for _, secret := range secrets.Items { | ||
if isArgoCDSecret(referencedSecrets, secret) { | ||
pruneObjects[kube.ResourceKey{Group: "", Kind: "Secret", Name: secret.GetName(), Namespace: secret.GetNamespace()}] = secret | ||
} |
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.
Argo is creating the resources from the UI as k8s Secret resource. I think we have to import/export them as part of the backup whenever they contain the argo-cd annotation/label
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.
Good catch, fixed!
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Closes #19768