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

remove normal initcontainer in sidecarset's sidecar list #1719

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

zmberg
Copy link
Member

@zmberg zmberg commented Aug 30, 2024

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Ⅳ. Special notes for reviews

@kruise-bot kruise-bot requested review from FillZpp and veophi August 30, 2024 08:57
@kruise-bot kruise-bot added the size/S size/S 10-29 label Aug 30, 2024
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 3 lines in your changes missing coverage. Please review.

Project coverage is 49.17%. Comparing base (0d0031a) to head (4405f71).
Report is 80 commits behind head on master.

Files with missing lines Patch % Lines
pkg/control/sidecarcontrol/util.go 66.66% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1719      +/-   ##
==========================================
+ Coverage   47.91%   49.17%   +1.26%     
==========================================
  Files         162      191      +29     
  Lines       23491    19561    -3930     
==========================================
- Hits        11256     9620    -1636     
+ Misses      11014     8691    -2323     
- Partials     1221     1250      +29     
Flag Coverage Δ
unittests 49.17% <72.72%> (+1.26%) ⬆️

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.

@@ -575,3 +568,17 @@ func IsSidecarContainer(container corev1.Container) bool {
}
return false
}

// ListSidecarNameInSidecarSet list always init containers and sidecar containers
func ListSidecarNameInSidecarSet(sidecarSet *appsv1alpha1.SidecarSet) sets.String {
Copy link
Member

Choose a reason for hiding this comment

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

make it private func?

Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
@zmberg zmberg force-pushed the fix-sidecarset-list branch from 919e550 to 4405f71 Compare August 30, 2024 09:21
Copy link
Member

@furykerry furykerry left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@kruise-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: furykerry

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kruise-bot kruise-bot merged commit 68a3793 into openkruise:master Aug 30, 2024
36 of 41 checks passed
zerunhu pushed a commit to zerunhu/kruise that referenced this pull request Sep 3, 2024
…1719)

Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
zerunhu pushed a commit to zerunhu/kruise that referenced this pull request Sep 3, 2024
…1719)

Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
zmberg added a commit that referenced this pull request Sep 5, 2024
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants