Repository navigation
ci: Add bundle-sync verification to operator PR workflow - #6751
Merged
Merged
Conversation
ntkathole
force-pushed
the
ci/operator-bundle-verify
branch
3 times, most recently
from
August 18, 2026 10:26
8ead3ee to
60b156e
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6751 +/- ##
=======================================
Coverage 46.98% 46.98%
=======================================
Files 418 418
Lines 51675 51675
Branches 7485 7485
=======================================
Hits 24281 24281
Misses 25666 25666
Partials 1728 1728
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ntkathole
force-pushed
the
ci/operator-bundle-verify
branch
from
August 18, 2026 10:57
60b156e to
9b7201d
Compare
ntkathole
force-pushed
the
ci/operator-bundle-verify
branch
from
August 18, 2026 11:10
0946fe1 to
573bd48
Compare
ntkathole
force-pushed
the
ci/operator-bundle-verify
branch
from
August 18, 2026 15:44
573bd48 to
8df91f1
Compare
jyejare
approved these changes
Aug 19, 2026
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
Run `make bundle` to pick up refined clusterrole/clusterrolebinding RBAC rules and drop stale subjectaccessreviews permission. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
retry.RetryOnConflict only handles Conflict (resource version mismatch). When concurrent reconcile loops both GET a NotFound resource and race to Create it, the loser gets AlreadyExists which was not retried. Switch to retry.OnError with a predicate covering both IsConflict and IsAlreadyExists so the retry re-GETs the now-existing resource and proceeds with an update. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Run make bundle to pick up the clusterrole get/list RBAC verbs and updated CRD field descriptions. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
The controller-runtime cached client can return stale NotFound for cluster-scoped resources when the informer cache has not yet synced. This causes CreateOrUpdate to attempt a Create that fails with AlreadyExists. Retrying does not help because the cache remains stale during the short retry window. Treat AlreadyExists and Conflict as non-errors since the resource exists in the desired state. The next reconcile cycle will update its contents once the cache has synced. This follows the standard Kubernetes operator eventual-consistency pattern. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
ntkathole
force-pushed
the
ci/operator-bundle-verify
branch
from
August 19, 2026 08:13
cb42ed8 to
fd9a2b9
Compare
Michie-hub
pushed a commit
to Michie-hub/feast
that referenced
this pull request
Aug 31, 2026
) * ci: Add bundle-sync verification to operator PR workflow Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> * fix: Regenerate operator bundle to sync RBAC permissions Run `make bundle` to pick up refined clusterrole/clusterrolebinding RBAC rules and drop stale subjectaccessreviews permission. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> * fix: Retry on AlreadyExists for cluster-scoped RBAC resources retry.RetryOnConflict only handles Conflict (resource version mismatch). When concurrent reconcile loops both GET a NotFound resource and race to Create it, the loser gets AlreadyExists which was not retried. Switch to retry.OnError with a predicate covering both IsConflict and IsAlreadyExists so the retry re-GETs the now-existing resource and proceeds with an update. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix: Regenerate operator bundle to sync RBAC and CRD changes Run make bundle to pick up the clusterrole get/list RBAC verbs and updated CRD field descriptions. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix: Handle AlreadyExists and Conflict as non-errors for cluster RBAC The controller-runtime cached client can return stale NotFound for cluster-scoped resources when the informer cache has not yet synced. This causes CreateOrUpdate to attempt a Create that fails with AlreadyExists. Retrying does not help because the cache remains stale during the short retry window. Treat AlreadyExists and Conflict as non-errors since the resource exists in the desired state. The next reconcile cycle will update its contents once the cache has synced. This follows the standard Kubernetes operator eventual-consistency pattern. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: ntkathole <nikhilkathole2683@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Michelle Nhengu <michellenhengu18@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds a gate so future RBAC or kustomize changes that are not reflected in the CSV will be caught at PR time.