Hello!
I have a yaml file that I use in a kubectl cli step for my eks cluster.
I wrpte the image to be configured like that in my deployment file :
image: #{AWSAccount}.dkr.ecr.eu-west-1.amazonaws.com/#{projectName}:$OctopusParameters['Octopus.Release.Number']
It passes in Octopus, but when I check on my kubernetes dashboard, the pods didn’t spin up because they couldn’t find themselves the Octopus system variable of release.
I have tried using a variable in the yaml file, with variable substitution in Octopus:
image: #{AWSAccount}.dkr.ecr.eu-west-1.amazonaws.com/#{projectName}:#{tag}
tag = $OctopusParameters[‘Octopus.Release.Number’]`
How would you guys do that? Thanks a lot!