Skip to content

Commit e3894d9

Browse files
authored
Merge pull request #93 from dollarshaveclub/fix-permissions
Correcting permissions to avoid warnings from helm
2 parents c692b22 + 4c98ecf commit e3894d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function main() {
4040
kubeConfigLocation,
4141
"\r\n\r\n" + process.env.INPUT_KUBECONFIG + "\r\n\r\n",
4242
{
43-
mode: 0o644,
43+
mode: 0o600,
4444
}
4545
);
4646
} else if (kubeConfigExists) {
@@ -54,7 +54,7 @@ async function main() {
5454
kubeConfigLocation,
5555
"\r\n\r\n" + process.env.INPUT_KUBECONFIG + "\r\n\r\n",
5656
{
57-
mode: 0o644,
57+
mode: 0o600,
5858
}
5959
);
6060
}
@@ -63,7 +63,7 @@ async function main() {
6363
dockerKubeConfig,
6464
fs.readFileSync(kubeConfigLocation),
6565
{
66-
mode: 0o777,
66+
mode: 0o600,
6767
}
6868
);
6969
console.log("\033[36mPreparing helm execution\033[0m");

0 commit comments

Comments
 (0)