git-to-k8s
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -216,6 +216,7 @@ #! /usr/bin/env node | ||
cmds: this.charts.map(chart => { | ||
const dir = path.join(chart.path, chart.values) | ||
if (_shell.exec(`helm list | grep ${chart.release}`).code == 0) { | ||
return `helm upgrade --name ${chart.release} -f ${chart.values} ./${chart.path}` | ||
return `helm upgrade --name ${chart.release} -f ${dir} ./${chart.path}` | ||
} | ||
return `helm install --name ${chart.release} -f ${chart.values} ./${chart.path}` | ||
return `helm install --name ${chart.release} -f ${dir} ./${chart.path}` | ||
}) | ||
@@ -222,0 +223,0 @@ })) |
{ | ||
"name": "git-to-k8s", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Small tool to automate the git to url flow on k8s", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
83377
2157