Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't process NSTemplateTier that is being deleted #1128

Conversation

MatousJobanek
Copy link
Contributor

@MatousJobanek MatousJobanek commented Jan 23, 2025

don't process NSTemplateTier that is being deleted, otherwise, the controller can create TTR CRs in the reconcile that was triggered by the "delete" call.

https://redhat-internal.slack.com/archives/C06MJ2DVBU4/p1737375318490079

Copy link
Contributor

@mfrancisc mfrancisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch 🚀

Thanks for fixing it!

Copy link

openshift-ci bot commented Jan 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MatousJobanek, mfrancisc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [MatousJobanek,mfrancisc]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit fc112fb into codeready-toolchain:master Jan 23, 2025
13 checks passed
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.65%. Comparing base (a1bcf67) to head (789464d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1128      +/-   ##
==========================================
+ Coverage   79.63%   79.65%   +0.02%     
==========================================
  Files          79       79              
  Lines        8043     8046       +3     
==========================================
+ Hits         6405     6409       +4     
+ Misses       1453     1452       -1     
  Partials      185      185              
Files with missing lines Coverage Δ
...ollers/nstemplatetier/nstemplatetier_controller.go 83.44% <100.00%> (+0.34%) ⬆️

... and 1 file with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants