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 }} ]