@leverege/build-tools 2.5.21 → 2.5.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,7 +76,7 @@ async function createValuesYAML(name, version, redisAccess, securityContext, pre
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
try {
|
|
79
|
-
await fsp.writeFile('helm/values.yaml', yaml.
|
|
79
|
+
await fsp.writeFile('helm/values.yaml', yaml.dump(values), 'utf8');
|
|
80
80
|
} catch (err) {
|
|
81
81
|
console.error('Failed to create values.yaml file', chalk.red.bold('ERROR'));
|
|
82
82
|
process.exit(1);
|
|
@@ -85,9 +85,9 @@ async function createValuesYAML(name, version, redisAccess, securityContext, pre
|
|
|
85
85
|
|
|
86
86
|
async function createChartYAML(chart) {
|
|
87
87
|
try {
|
|
88
|
-
await fsp.writeFile('helm/Chart.yaml', yaml.
|
|
88
|
+
await fsp.writeFile('helm/Chart.yaml', yaml.dump(chart), 'utf8');
|
|
89
89
|
} catch (err) {
|
|
90
|
-
console.error('Failed to create Chart.yaml file
|
|
90
|
+
console.error(`${chalk.red.bold('ERROR')} Failed to create Chart.yaml file\n`, err);
|
|
91
91
|
process.exit(1);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
Binary file
|