Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
a8ba005a
Commit
a8ba005a
authored
Apr 03, 2019
by
walkafwalka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add umask before tarball creation
Signed-off-by:
walkafwalka
<
2865898-walkafwalka@users.noreply.gitlab.com
>
parent
7eb7567e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
http_installer_test.go
pkg/plugin/installer/http_installer_test.go
+3
-0
No files found.
pkg/plugin/installer/http_installer_test.go
View file @
a8ba005a
...
...
@@ -25,6 +25,7 @@ import (
"k8s.io/helm/pkg/helm/helmpath"
"os"
"path/filepath"
"syscall"
"testing"
)
...
...
@@ -213,6 +214,8 @@ func TestExtract(t *testing.T) {
//{"README.md", "so you know what's upp"},
//{"script.sh", "echo script"},
syscall
.
Umask
(
0000
)
var
tarbuf
bytes
.
Buffer
tw
:=
tar
.
NewWriter
(
&
tarbuf
)
var
files
=
[]
struct
{
...
...
Write
Preview
Markdown
is supported
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