Commit 6d36c9a7 authored by Massimo Cannavo's avatar Massimo Cannavo Committed by Alena Prokharchyk
Browse files

Fixed ssl directory for rke-bundle-cert container

Replaced temp cert path with var
parent ecd92cef
Showing with 1 addition and 1 deletion
+1 -1
......@@ -264,7 +264,7 @@ func ExtractBackupBundleOnHost(ctx context.Context, host *hosts.Host, alpineSyst
Cmd: []string{
"sh",
"-c",
fmt.Sprintf("mkdir -p /etc/kubernetes/.tmp/; tar xzvf %s -C %s --strip-components %d", BundleCertPath, fullTempCertPath, len(strings.Split(fullTempCertPath, "/"))-1),
fmt.Sprintf("mkdir -p %s; tar xzvf %s -C %s --strip-components %d", fullTempCertPath, BundleCertPath, fullTempCertPath, len(strings.Split(fullTempCertPath, "/"))-1),
},
Image: alpineSystemImage,
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment