1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Tweak permissions on created files

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals
2023-11-03 11:15:00 +01:00
parent 1b239fbc82
commit e73d1acb20
3 changed files with 5 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ func installFlux(ctx context.Context, tmpDir string, kubeconfigPath string) erro
if err != nil {
return err
}
err = os.WriteFile(f.Name(), []byte(cfg.gitPrivateKey), 0o644)
err = os.WriteFile(f.Name(), []byte(cfg.gitPrivateKey), 0o600)
if err != nil {
return err
}