Setting chart version using ResourceSet for GitHub pull-requests #5236
-
I've been trying to set the chart version when using ResourceSet. This is because I want to be able to work on the chart itself in PR's without worrying about messing up what's in main. However, I can't seem to find a way to set the chart version (to the PR sha, just like the image tag). Is this supported? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The chart version is set to track the Git SHA using |
Beta Was this translation helpful? Give feedback.
-
I'm now having this setup and working beautifully. One quirk exists though. The ResourceSet detects the git update very quickly and tries to pull in the sha tagged image before it is available. This happens due to the inherent delay in GitHub Actions. Apart from updating the intervals of the ResourceSet, is there any other nifty solution to reconciling only once the new image is available in the OCI repository? |
Beta Was this translation helpful? Give feedback.
The chart version is set to track the Git SHA using
reconcileStrategy: Revision
, if you look at the docs here: https://fluxcd.control-plane.io/operator/resourcesets/github-pull-requests/#resourceset-template you'll see.