From 9e1a0cf700de1b2328ec52df8f90f74b42e6e9ec Mon Sep 17 00:00:00 2001 From: Marcin Praski Date: Wed, 16 Oct 2019 17:28:06 +0200 Subject: [PATCH] feat: Generated value file is last arg (#13) It simply places the --values=./values.yml argument at the very last place in the whole command. This ensures that these values take precedence over other value arguments. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8fedbb7f..073302c0 100644 --- a/index.js +++ b/index.js @@ -191,12 +191,12 @@ async function run() { "--wait", "--atomic", `--namespace=${namespace}`, - "--values=./values.yml", ]; if (dryRun) args.push("--dry-run"); if (appName) args.push(`--set=app.name=${appName}`); if (version) args.push(`--set=app.version=${version}`); valueFiles.forEach(f => args.push(`--values=${f}`)); + args.push("--values=./values.yml"); // Special behaviour is triggered if the track is labelled 'canary'. The // service and ingress resources are disabled. Access to the canary