-
Notifications
You must be signed in to change notification settings - Fork 459
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 <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
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 <yurimsa@gmail.com>
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 <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
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 <yurimsa@gmail.com>
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 <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Add a sleep to the tests
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Still one e2e test is failing |
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
@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 <yurimsa@gmail.com> * Fix e2e tests Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added reconciliation test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added owned objects function Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed controller test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed controller test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed controller test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Add PodDisruptionBudget Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Change vars setting Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Change vars setting Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Update e2e tests to chainsaw Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added ingress e2e tests Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added Volumes, changed function's place Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Suite Test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added RBAC for Volumes Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Added RBAC for Volumes Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Suite Test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Suite Test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Suite Test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Add a sleep * Fixed Chainsaw test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Chainsaw test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Chainsaw test Signed-off-by: Yuri Sa <yurimsa@gmail.com> * Fixed Chainsaw test Signed-off-by: Yuri Sa <yurimsa@gmail.com> --------- Signed-off-by: Yuri Sa <yurimsa@gmail.com> Co-authored-by: Jacob Aronoff <jacobaronoff45@gmail.com>
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