-
Notifications
You must be signed in to change notification settings - Fork 359
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
modify lvscare name #1937
modify lvscare name #1937
Conversation
Codecov ReportBase: 17.51% // Head: 17.99% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1937 +/- ##
==========================================
+ Coverage 17.51% 17.99% +0.47%
==========================================
Files 103 104 +1
Lines 9139 9360 +221
==========================================
+ Hits 1601 1684 +83
- Misses 7325 7454 +129
- Partials 213 222 +9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
how about make it as a const value , replace it including registry lvscare and k8s runtime lvscare |
common/common.go
Outdated
@@ -40,6 +40,7 @@ const ( | |||
KubeLvsCareStaticPodName = "kube-lvscare" | |||
RegLvsCareStaticPodName = "reg-lvscare" | |||
StaticPodDir = "/etc/kubernetes/manifests" | |||
LvsCare = "sealerio/lvscare:v1.1.3-beta.8" |
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.
LvsCareRepoAndTag
pkg/registry/local.go
Outdated
@@ -162,7 +162,7 @@ func (c *localConfigurator) configureLvs(registryHosts, clientHosts []net.IP) er | |||
} | |||
|
|||
//todo should make lvs image name as const value in sealer repo. | |||
lvsImageURL := fmt.Sprintf("%s/sealer/lvscare:v1.1.3-beta.8", net.JoinHostPort(c.Domain, strconv.Itoa(c.Port))) | |||
lvsImageURL := filepath.Join(net.JoinHostPort(c.Domain, strconv.Itoa(c.Port)), common.LvsCare) |
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.
in cluster runtime, we also need to replace this value.
af383a5
to
a426658
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
Describe what this PR does / why we need it
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews