You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to update the cleanup gitjobs job to delete all the jobs that are created by GitRepos and that are Finished.
We need to test that this is executed when updating Fleet from a previous version.
Solution
The job should run only once, after updating
The job should use the right ServiceAccount
The job should delete all the jobs that are relative to a GitRepo and that succeeded.
Testing
Start using Rancher 2.9.2
Apply a GitRepo that is successful, update the git repository, so Fleet creates a new job per each new commit. Repeat until you have a few jobs.
Update Fleet to 2.9.3
Check that all jobs that succeeded are deleted.
Check also that after the update Fleet creates a new job per each commit, but this time the job is deleted after it succeeds.
After merging #2903 we need:
The text was updated successfully, but these errors were encountered: