From 228bc7eaceb0c9f065338a05c794b0c265ab8962 Mon Sep 17 00:00:00 2001 From: John Watson Date: Thu, 3 Nov 2022 21:08:04 +0000 Subject: [PATCH] Update file --- VERSION | 2 +- build.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9ee1f78..ccad953 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.11 +1.1.12 diff --git a/build.yaml b/build.yaml index 6ec7296..b9d1449 100644 --- a/build.yaml +++ b/build.yaml @@ -311,7 +311,8 @@ jobs: runOptions: inline inline: | helm repo update - helm upgrade --install --namespace ${{ parameters.namespace }} -f /tmp/$(repo)-values.yaml $(repo) --atomic lynxmagnus/$(repo) --version $(version) --create-namespace + $fileArg = if ('${{ parameters.hasSecureHelmValuesFile }}' -eq 'true') { '-f /tmp/${{ parameters.name }}-values.yaml' } + helm upgrade --install --namespace ${{ parameters.namespace }} $(fileArg) $(repo) --atomic lynxmagnus/$(repo) --version $(version) --create-namespace condition: and(succeeded(), eq(${{ parameters.deploy }}, true)) - task: PublishBuildArtifacts@1