-
Notifications
You must be signed in to change notification settings - Fork 450
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
Fixed Otel Controller - Auxiliares resources deletion #2575
Conversation
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
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.
Looking great! Thank you for implementing this.
Signed-off-by: Yuri Sa <[email protected]>
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.
one comment. Otherwise, were you able to confirm locally that this does as we intend?
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
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.
just two small things, otherwise this LGTM!! Thank you so much Yuri.
Signed-off-by: Yuri Sa <[email protected]>
The CI is still failing :/ |
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.
looks like it's failing on: error listing ServiceMonitors: no kind is registered for the type v1.ServiceMonitorList in scheme "pkg/runtime/scheme.go:100"
Overall though i think this looks good to me!
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Add a sleep to the tests
Signed-off-by: Yuri Sa <[email protected]>
Still one e2e test is failing |
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
Signed-off-by: Yuri Sa <[email protected]>
@yuriolisa thank you so much for your heroics here. I really appreciate the work and all the fixes that come from this. |
…#2575) * Fixed HPA deletion Signed-off-by: Yuri Sa <[email protected]> * Fix e2e tests Signed-off-by: Yuri Sa <[email protected]> * Added reconciliation test Signed-off-by: Yuri Sa <[email protected]> * Added owned objects function Signed-off-by: Yuri Sa <[email protected]> * Fixed controller test Signed-off-by: Yuri Sa <[email protected]> * Fixed controller test Signed-off-by: Yuri Sa <[email protected]> * Fixed controller test Signed-off-by: Yuri Sa <[email protected]> * Add PodDisruptionBudget Signed-off-by: Yuri Sa <[email protected]> * Change vars setting Signed-off-by: Yuri Sa <[email protected]> * Change vars setting Signed-off-by: Yuri Sa <[email protected]> * Update e2e tests to chainsaw Signed-off-by: Yuri Sa <[email protected]> * Added ingress e2e tests Signed-off-by: Yuri Sa <[email protected]> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <[email protected]> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <[email protected]> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <[email protected]> * Fixed Suite Test Signed-off-by: Yuri Sa <[email protected]> * Added RBAC for Volumes Signed-off-by: Yuri Sa <[email protected]> * Added RBAC for Volumes Signed-off-by: Yuri Sa <[email protected]> * Fixed Suite Test Signed-off-by: Yuri Sa <[email protected]> * Fixed Suite Test Signed-off-by: Yuri Sa <[email protected]> * Fixed Suite Test Signed-off-by: Yuri Sa <[email protected]> * Add a sleep * Fixed Chainsaw test Signed-off-by: Yuri Sa <[email protected]> * Fixed Chainsaw test Signed-off-by: Yuri Sa <[email protected]> * Fixed Chainsaw test Signed-off-by: Yuri Sa <[email protected]> * Fixed Chainsaw test Signed-off-by: Yuri Sa <[email protected]> --------- Signed-off-by: Yuri Sa <[email protected]> Co-authored-by: Jacob Aronoff <[email protected]>
Description:
Fixed HPA deletion
Link to tracking Issue:
Resolves #2568
Resolves #2651
Resolves #2587
Testing:
Added new e2e test to check this step.
Documentation:
PersistentVolumes
andPersistentVolumesClaims
.findOtelOwnedObjects
which will find all the owned objects and serve as an auxiliary resource to thereconcileDesiredObjects
function to keep or delete the expected objects.HorizontalPodAutoscaler
fromclient.Object
to*autoscalingv2.HorizontalPodAutoscaler
to keep the same pattern we have been using for another resources.networkingv1.AddToScheme(scheme)
).patch
operation enabled.Ingress
andHorizontalPodAutoscalers
to test the deletion process.controllers/suite_test.go