- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.5k
 
feat: add status.resourcesCount field to appset and change limit default #24698
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
Conversation
          ❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment): 
  | 
    
| // Resources is a list of Applications resources managed by this application set. | ||
| Resources []ResourceStatus `json:"resources,omitempty" protobuf:"bytes,3,opt,name=resources"` | ||
| Resources []ResourceStatus `json:"resources,omitempty" protobuf:"bytes,3,opt,name=resources"` | ||
| ResourcesCount int64 `json:"resourcesCount,omitempty" protobuf:"varint,4,opt,name=resourcesCount"` | 
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.
Should have a docstring for this, particularly to explain it may differ from the actual length of resources.
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.
Makes sense. Added documentation
Signed-off-by: Alexander Matyushentsev <[email protected]>
6f5cdf9    to
    9d76def      
    Compare
  
    
          Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@            Coverage Diff             @@
##           master   #24698      +/-   ##
==========================================
- Coverage   60.51%   60.48%   -0.04%     
==========================================
  Files         350      350              
  Lines       60196    60199       +3     
==========================================
- Hits        36430    36411      -19     
- Misses      20832    20849      +17     
- Partials     2934     2939       +5     ☔ View full report in Codecov by Sentry.  | 
    
| 
           thanks for review @crenshaw-dev PTAL  | 
    
| 
           ❌ Cherry-pick failed for 3.2. Please check the workflow logs for details.  | 
    
…ult (argoproj#24698) Signed-off-by: Alexander Matyushentsev <[email protected]>
…ult (#24698) (#24711) Signed-off-by: Alexander Matyushentsev <[email protected]>
PR is a followup for #24690
It changes the default limit of number of resources stored in applicationset status to 5000.
Also adds
resourcesCountfield to help building future applicationset UI that will show appset resources tree.