This message was deleted.
# general
s
This message was deleted.
p
Not sure if it is a best practice, but we have used the following on a statefulset spec in a helmchart. .Values is whatever you push in as config. You could put an unused field in there with a timestamp. This causes the pods to be recreated, combine this with an imagePullPolicy of Always and you are good to go
Copy code
template:
    metadata:
      annotations:
        checksum/config: {{ .Values | toJson | sha256sum }}
e
interesting, thanks!
q
I’d resolve latest and not send it to my cluster
You can use this to resolve it within the Pulumi code: https://www.npmjs.com/package/@snyk/docker-registry-v2-client
e
thats quite clean, yeah should prevent unnecessary deployments too, thanks for that! its a shame i cant find anything like imagestreams on k8s