mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Upgrade js-yaml to 4.X (#3623)
This commit is contained in:
1 parent
fcb3010033
commit
5998b4ca84
17 files changed
+90
-57
No files matched your search
@@ -53,7 +53,7 @@ export async function installChart(chart: string, values: any, name: string | un
|
||||
const helm = await helmCli.binaryPath();
|
||||
const fileName = tempy.file({ name: "values.yaml" });
|
||||
|
||||
await fse.writeFile(fileName, yaml.safeDump(values));
|
||||
await fse.writeFile(fileName, yaml.dump(values));
|
||||
|
||||
try {
|
||||
let generateName = "";
|
||||
@@ -83,7 +83,7 @@ export async function upgradeRelease(name: string, chart: string, values: any, n
|
||||
const helm = await helmCli.binaryPath();
|
||||
const fileName = tempy.file({ name: "values.yaml" });
|
||||
|
||||
await fse.writeFile(fileName, yaml.safeDump(values));
|
||||
await fse.writeFile(fileName, yaml.dump(values));
|
||||
|
||||
try {
|
||||
const proxyKubeconfig = await cluster.getProxyKubeconfigPath();
|
||||
|
||||
Reference in new issue
Block a user