-
Notifications
You must be signed in to change notification settings - Fork 771
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
Conversation
Codecov ReportAttention: Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
pkg/control/sidecarcontrol/util.go
Outdated
@@ -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 { |
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.
make it private func?
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
919e550
to
4405f71
Compare
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.
/lgtm
/approve
[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 |
…1719) Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
…1719) Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
Signed-off-by: liheng.zms <liheng.zms@alibaba-inc.com>
Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews