Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rke
Commits
6d36c9a7
Commit
6d36c9a7
authored
6 years ago
by
Massimo Cannavo
Committed by
Alena Prokharchyk
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fixed ssl directory for rke-bundle-cert container
Replaced temp cert path with var
parent
ecd92cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pki/pki.go
+1
-1
pki/pki.go
with
1 addition
and
1 deletion
+1
-1
pki/pki.go
+
1
-
1
View file @
6d36c9a7
...
...
@@ -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
,
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help