Skip to content

Commit 001a9d0

Browse files
author
kranurag7
committed
use same permissions for released cluster-stacks
we were having 0755 permissions for one file which was cluster-addon-values.yaml and this commit updates it so that we have the same permissions for all the files in release assets. Signed-off-by: kranurag7 <anurag.kumar@syself.com>
1 parent e9e6d3d commit 001a9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func (c *CreateOptions) generateRelease() error {
208208
return fmt.Errorf("failed to read cluster-addon-values.yaml: %w", err)
209209
}
210210

211-
if err := os.WriteFile(filepath.Join(c.ClusterStackReleaseDir, "cluster-addon-values.yaml"), clusterAddonData, os.ModePerm); err != nil {
211+
if err := os.WriteFile(filepath.Join(c.ClusterStackReleaseDir, "cluster-addon-values.yaml"), clusterAddonData, os.FileMode(0o644)); err != nil {
212212
return fmt.Errorf("failed to write cluster-addon-values.yaml: %w", err)
213213
}
214214

0 commit comments

Comments
 (0)