-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feature(main): add v1.25 k8s support #1616
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1616 +/- ##
=======================================
Coverage 57.07% 57.07%
=======================================
Files 5 5
Lines 424 424
=======================================
Hits 242 242
Misses 164 164
Partials 18 18 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: cuisongliu <[email protected]>
@@ -21,7 +21,7 @@ import "fmt" | |||
const ( | |||
DefaultBashFmt = "cd %s && bash %s" | |||
DefaultCPFmt = "mkdir -p %s && cp -rf %s/* %s/" | |||
DefaultLnFmt = "mkdir -p %s && ln -s %s %s" | |||
DefaultLnFmt = "ln -s %s %s" |
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.
seems must using mkdir -p %s && cp -rf %s/* %s
@@ -96,7 +96,7 @@ func (k *KubeadmRuntime) htpasswd(registry *v1beta1.RegistryConfig) error { | |||
func (k *KubeadmRuntime) ApplyRegistry() error { | |||
logger.Info("start to apply registry") | |||
registry := k.getRegistry() | |||
lnCmd := fmt.Sprintf(constants.DefaultLnFmt, registry.Data, registry.Data, k.getContentData().RootFSRegistryPath()) | |||
lnCmd := fmt.Sprintf(constants.DefaultLnFmt, k.getContentData().RootFSRegistryPath(), registry.Data) |
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.
seems should not modify this code
Signed-off-by: cuisongliu [email protected]