Skip to content
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

[BUG] Invalid "resources" scope in clusterresourcesync/deployment.yaml #4916

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

lowc1012
Copy link
Contributor

@lowc1012 lowc1012 commented Feb 17, 2024

Tracking issue

Closes #4915

Why are the changes needed?

fix a bug in clusterresourcesync/deployment.yaml when users identify resources

What changes were proposed in this pull request?

  1. Add resources: {} into charts/flyte-core/values.yaml as default value
  2. Use with to render resources for deployment if the .Values.cluster_resource_manager.resources is not empty.

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Feb 17, 2024
Copy link

codecov bot commented Feb 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.97%. Comparing base (b43af79) to head (f406f4b).
Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4916   +/-   ##
=======================================
  Coverage   58.97%   58.97%           
=======================================
  Files         645      645           
  Lines       55506    55559   +53     
=======================================
+ Hits        32732    32765   +33     
- Misses      20174    20198   +24     
+ Partials     2600     2596    -4     
Flag Coverage Δ
unittests 58.97% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 29, 2024
@eapolinario eapolinario merged commit 2256c2b into flyteorg:master Feb 29, 2024
51 checks passed
@eapolinario
Copy link
Contributor

Verified that resources is a property of io.k8s.api.core.v1.Container (in https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)

yubofredwang pushed a commit to yubofredwang/flyte that referenced this pull request Mar 26, 2024
flyteorg#4916)

* fix invalid clusterresourcesync/deployment.yaml

Signed-off-by: Ryan Lo <[email protected]>

* update README.md

Signed-off-by: Ryan Lo <[email protected]>

* update generated yaml files

Signed-off-by: Ryan Lo <[email protected]>

* fix typo

Signed-off-by: Ryan Lo <[email protected]>

---------

Signed-off-by: Ryan Lo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Invalid "resources" scope in clusterresourcesync/deployment.yaml
2 participants