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

feat: support to reference other components vars #7155

Merged
merged 6 commits into from
Apr 25, 2024

Conversation

Y-Rookie
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added the size/XL Denotes a PR that changes 500-999 lines. label Apr 24, 2024
@Y-Rookie Y-Rookie changed the title chore: support to reference other components vars feat: support to reference other components vars Apr 24, 2024
@Y-Rookie Y-Rookie linked an issue Apr 24, 2024 that may be closed by this pull request
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

Attention: Patch coverage is 87.80488% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 64.81%. Comparing base (39f08fa) to head (d714e9f).
Report is 1 commits behind head on main.

Files Patch % Lines
pkg/controller/component/vars.go 87.80% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7155      +/-   ##
==========================================
+ Coverage   64.77%   64.81%   +0.03%     
==========================================
  Files         338      338              
  Lines       41842    41883      +41     
==========================================
+ Hits        27104    27147      +43     
- Misses      12372    12373       +1     
+ Partials     2366     2363       -3     
Flag Coverage Δ
unittests 64.81% <87.80%> (+0.03%) ⬆️

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.

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 24, 2024
// and the value will be presented in the following format: podName1,podName2...
//
// +optional
PodNames *VarOption `json:"podNames,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

consider calling it InstanceNames ? as Instance has been defined as the fundmental unit of KB from the 4-layer model.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

consider calling it InstanceNames ? as Instance has been defined as the fundmental unit of KB from the 4-layer model.

fixed

@apecloud-bot apecloud-bot removed the approved PR Approved Test label Apr 25, 2024
@Y-Rookie
Copy link
Collaborator Author

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 25, 2024
@Y-Rookie Y-Rookie merged commit aa9497f into main Apr 25, 2024
51 checks passed
@Y-Rookie Y-Rookie deleted the support/support-reference-another-component-podlist branch April 25, 2024 06:05
@github-actions github-actions bot added this to the Release 0.9.0 milestone Apr 25, 2024
@Y-Rookie
Copy link
Collaborator Author

/cherry-pick release-0.9

Copy link

🤖 says: cherry pick action finished successfully 🎉!
See: https://github.com/apecloud/kubeblocks/actions/runs/8827792150

github-actions bot pushed a commit that referenced this pull request Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved PR Approved Test size/XL Denotes a PR that changes 500-999 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Features] support to reference component pod name list
4 participants