-
Notifications
You must be signed in to change notification settings - Fork 25
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
Rework orphaned Templates removal #571
Conversation
6f76152
to
691e70e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a couple of nit comments along with a couple of questions.
And one more question: why do we implement the full reconciliation test logic in the BeforeEach
and AfterEach
nodes? The logic in those might interfere with other tests (e.g. removing a namespace in one of the AfterEach
node, whilst the same namespace is being utilized by another node from another test). This question does not require any actions to perform, I am just curious about it
8b32df0
to
b12a2f3
Compare
Very big thanks for the review @zerospiel. Regarding your question about the reconciliation tests logic, I think we should create a task for it and continue the discussion there. I'd agree, the current reconciliation tests approach may be reworked. |
b12a2f3
to
d617632
Compare
7e3e42b
to
c59fc89
Compare
c59fc89
to
b85ed80
Compare
0b34261
to
955ccfc
Compare
Closes k0rdent#570 Includes: * Remove managed-by-chain label from templates since one template can be managed by multiple chains * Trigger TemplateChain reconciliation on TemplateManagement updates * Use cached k8s client in testing for operations that require field indexers since field indexers are only work with cached client * Separate TemplateChain reconciliation to Update and Delete operations
955ccfc
to
e2acc45
Compare
e2acc45
to
3566f95
Compare
Closes #570
Includes:
managed-by-chain
label from templates since one template can be managed by multiple chains and this label is not needed anymore