argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18k stars 5.48k forks source link

fix: show multisource details for an appset when using `argocd appset get` command #20903

Closed nitishfy closed 3 minutes ago

nitishfy commented 17 hours ago

Closes #20902 Checklist:

Before:

> argocd appset get color-applicationset-multi-source
Name:               argocd/color-applicationset-multi-source
Project:            default
Server:             https://kubernetes.default.svc
Namespace:          {{namespace}}
Sources:
- Repo:             https://github.com/argoproj/argocd-example-apps.git
  Target:           HEAD
  Path:             apps
SyncPolicy:         <none>

CONDITION            STATUS  MESSAGE                                                 LAST TRANSITION
ErrorOccurred        False   Successfully generated parameters for all Applications  2024-11-21 18:54:36 +0530 IST
ParametersGenerated  True    Successfully generated parameters for all Applications  2024-11-21 18:47:40 +0530 IST
ResourcesUpToDate    True    ApplicationSet up to date                               2024-11-21 18:54:36 +0530 IST

After:

> argocd appset get color-applicationset-multi-source
Name:               argocd/color-applicationset-multi-source
Project:            default
Server:             https://kubernetes.default.svc
Namespace:          {{namespace}}
Sources:
- Repo:             https://github.com/argoproj/argocd-example-apps.git
  Target:           HEAD
  Path:             apps
- Repo:             https://github.com/argoproj/argocd-example-apps.git
  Target:           HEAD
  Path:             guestbook
SyncPolicy:         <none>

CONDITION            STATUS  MESSAGE                                                 LAST TRANSITION
ErrorOccurred        False   Successfully generated parameters for all Applications  2024-11-21 18:54:36 +0530 IST
ParametersGenerated  True    Successfully generated parameters for all Applications  2024-11-21 18:47:40 +0530 IST
ResourcesUpToDate    True    ApplicationSet up to date                               2024-11-21 18:54:36 +0530 IST
bunnyshell[bot] commented 17 hours ago

:x: Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

codecov[bot] commented 2 hours ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.02%. Comparing base (9f1431e) to head (11a568a). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #20903 +/- ## ======================================= Coverage 55.02% 55.02% ======================================= Files 324 324 Lines 55417 55421 +4 ======================================= + Hits 30493 30497 +4 - Misses 22308 22312 +4 + Partials 2616 2612 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.