able-painter-57976
09/11/2023, 8:58 AMlatest
. I've got running deployment and newer image, but for pulumi there is no change? How to "redeploy" deployment to download latest latest image.able-painter-57976
09/11/2023, 1:42 PMimagePullPolicy
is ok. I use Always
but common problem for deploying something with latest
tag is that k8s does not recognize the change as manifests are the same. My question may state if pulumi has something to solve this issue, but as I think about it can't as this is based on k8s structure and declarative definitions in manifests.cuddly-computer-18851
09/11/2023, 11:51 PMlatest
full-boots-69133
09/12/2023, 1:05 AMconst imageDetails = aws.ecr.getImageOutput({
imageTag: 'latest',
repositoryName: 'company-name/my-service',
})
const image = pulumi.interpolate`${imageDetails.repositoryName}@sha256:${imageDetails.imageDigest}}`
assuming imageDetails.imageDigest
does not include the sha256:
suffix (I have not tested this). I have used this approach with Ansible + Cloudformation (with ECS) in the past and it worked well.