From eeb93fc9a28c978a6fd437c1d619888984a82666 Mon Sep 17 00:00:00 2001 From: Mark Coafield <46470837+MissedTheMark@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:25:48 +1000 Subject: [PATCH] test --- charts/worker-upgrade-v2/Chart.yaml | 2 +- charts/worker-upgrade-v2/value-migrations/to-v2.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/worker-upgrade-v2/Chart.yaml b/charts/worker-upgrade-v2/Chart.yaml index 42c302d..77ad059 100644 --- a/charts/worker-upgrade-v2/Chart.yaml +++ b/charts/worker-upgrade-v2/Chart.yaml @@ -9,6 +9,6 @@ maintainers: email: "support@octopus.com" url: "https://octopus.com" type: application -version: "2.3.1" +version: "2.3.2" # This version number should be the same as the agent.image.tag value as this is the primary application version appVersion: "8.2.2165" diff --git a/charts/worker-upgrade-v2/value-migrations/to-v2.yaml b/charts/worker-upgrade-v2/value-migrations/to-v2.yaml index b2e62be..c7caf59 100644 --- a/charts/worker-upgrade-v2/value-migrations/to-v2.yaml +++ b/charts/worker-upgrade-v2/value-migrations/to-v2.yaml @@ -2,7 +2,9 @@ agent: name: "{{ .agent.targetName }}" deploymentTarget: enabled: true - image: {{ .agent.scriptPods.image }} + {{- if .agent.scriptPods.image }} + image: "{{ .agent.scriptPods.image }}" + {{- end }} initial: environments: [{{ quoteEach .agent.targetEnvironments }}] tags: [{{ quoteEach .agent.targetRoles }} ]