mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-13 15:32:12 +00:00
Tweak permissions on created files
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
parent
1b239fbc82
commit
e73d1acb20
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue