Skip to content

Commit

Permalink
Correcting permissions to avoid warnings from helm
Browse files Browse the repository at this point in the history
  • Loading branch information
theturtle32 committed Nov 19, 2024
1 parent 310c50f commit 4c98ecf
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 @@ -37,7 +37,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 @@ -51,7 +51,7 @@ async function main() {
kubeConfigLocation,
"\r\n\r\n" + process.env.INPUT_KUBECONFIG + "\r\n\r\n",
{
mode: 0o644,
mode: 0o600,
}
);
}
Expand All @@ -60,7 +60,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 4c98ecf

Please sign in to comment.