Skip to content

Commit

Permalink
Merge pull request #93 from dollarshaveclub/fix-permissions
Browse files Browse the repository at this point in the history
Correcting permissions to avoid warnings from helm
  • Loading branch information
WyriHaximus authored Nov 20, 2024
2 parents c692b22 + 4c98ecf commit e3894d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function main() {
kubeConfigLocation,
"\r\n\r\n" + process.env.INPUT_KUBECONFIG + "\r\n\r\n",
{
mode: 0o644,
mode: 0o600,
}
);
} else if (kubeConfigExists) {
Expand All @@ -54,7 +54,7 @@ async function main() {
kubeConfigLocation,
"\r\n\r\n" + process.env.INPUT_KUBECONFIG + "\r\n\r\n",
{
mode: 0o644,
mode: 0o600,
}
);
}
Expand All @@ -63,7 +63,7 @@ async function main() {
dockerKubeConfig,
fs.readFileSync(kubeConfigLocation),
{
mode: 0o777,
mode: 0o600,
}
);
console.log("\033[36mPreparing helm execution\033[0m");
Expand Down

0 comments on commit e3894d9

Please sign in to comment.