Commit 662fd4fc authored by Zachary Seguin's avatar Zachary Seguin Committed by Matthew Fisher

Remove executable bits from chartutil generated files (#4839)

Signed-off-by: 's avatarZachary Seguin <zachary@zacharyseguin.ca>
parent 0522b34e
......@@ -49,7 +49,7 @@ func SaveDir(c *chart.Chart, dest string) error {
// Save values.yaml
if c.Values != nil && len(c.Values.Raw) > 0 {
vf := filepath.Join(outdir, ValuesfileName)
if err := ioutil.WriteFile(vf, []byte(c.Values.Raw), 0755); err != nil {
if err := ioutil.WriteFile(vf, []byte(c.Values.Raw), 0644); err != nil {
return err
}
}
......@@ -63,7 +63,7 @@ func SaveDir(c *chart.Chart, dest string) error {
// Save templates
for _, f := range c.Templates {
n := filepath.Join(outdir, f.Name)
if err := ioutil.WriteFile(n, f.Data, 0755); err != nil {
if err := ioutil.WriteFile(n, f.Data, 0644); err != nil {
return err
}
}
......@@ -77,7 +77,7 @@ func SaveDir(c *chart.Chart, dest string) error {
return err
}
if err := ioutil.WriteFile(n, f.Value, 0755); err != nil {
if err := ioutil.WriteFile(n, f.Value, 0644); err != nil {
return err
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment