-
Notifications
You must be signed in to change notification settings - Fork 697
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
Elastic Agent: Set status.ObservedGeneration from metadata.Generation #5383
Commits on Feb 22, 2022
-
Add agent observed generation.
Add tests for agent observedGeneration. modify agent reconcile behavior to ensure status updates for certain situations. adjust common comparison to allow additional options Update some documentation. Make disabling of k8s client's errors simpler. Make the status update more readable. Configure initial state for Elastic Agent properly from current state. Add missing comments for some exported data. Make errors consistent with capitalization, and namespace+name. Rename e2e test name to be more descriptive. Update pod labels in e2e test to properly trigger generation update. Remove failing client tests. used keyed structs in tests.
Configuration menu - View commit details
-
Copy full SHA for fd34d3d - Browse repository at this point
Copy the full SHA fd34d3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bc9db5 - Browse repository at this point
Copy the full SHA 5bc9db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b7e14a - Browse repository at this point
Copy the full SHA 8b7e14aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de32ab - Browse repository at this point
Copy the full SHA 9de32abView commit details -
Configuration menu - View commit details
-
Copy full SHA for f77b470 - Browse repository at this point
Copy the full SHA f77b470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f6c8f - Browse repository at this point
Copy the full SHA 30f6c8fView commit details -
Ignore generation when checking if agent status is updated during k8s…
… test steps. remove WithDefaultESValidation from agent generation e2e test.
Configuration menu - View commit details
-
Copy full SHA for c6661bb - Browse repository at this point
Copy the full SHA c6661bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ed712 - Browse repository at this point
Copy the full SHA 58ed712View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6045d0 - Browse repository at this point
Copy the full SHA b6045d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1374e88 - Browse repository at this point
Copy the full SHA 1374e88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e03689 - Browse repository at this point
Copy the full SHA 5e03689View commit details -
Defer agent validation to reduce repetitive code.
Remove unneeded struct in tests. Move Generation e2e tests to it's own package, and use it in all Agent mutation tests.
Configuration menu - View commit details
-
Copy full SHA for b96cd85 - Browse repository at this point
Copy the full SHA b96cd85View commit details -
Updating metav1.Object -> client.Object, and using type switch to get…
… observedGeneration.
Configuration menu - View commit details
-
Copy full SHA for 2bc4fd9 - Browse repository at this point
Copy the full SHA 2bc4fd9View commit details
Commits on Mar 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a58c2da - Browse repository at this point
Copy the full SHA a58c2daView commit details -
Allow error to be returned from doReconcile during defer.
Updating E2E tests to have similar design as Kibana, and ES E2E tests for generation bits.
Configuration menu - View commit details
-
Copy full SHA for 250fcb5 - Browse repository at this point
Copy the full SHA 250fcb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a78d66d - Browse repository at this point
Copy the full SHA a78d66dView commit details
Commits on Mar 10, 2022
-
Merge branch 'main' of https://github.com/elastic/cloud-on-k8s into 3…
…392-agent-observedGeneration
Configuration menu - View commit details
-
Copy full SHA for 27027d0 - Browse repository at this point
Copy the full SHA 27027d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b549f8 - Browse repository at this point
Copy the full SHA 8b549f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28731f7 - Browse repository at this point
Copy the full SHA 28731f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea5935e - Browse repository at this point
Copy the full SHA ea5935eView commit details -
Add nolint for the naked return, which is required for the defer to f…
…unction properly.
Configuration menu - View commit details
-
Copy full SHA for c10da1b - Browse repository at this point
Copy the full SHA c10da1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d9975d - Browse repository at this point
Copy the full SHA 3d9975dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4f919 - Browse repository at this point
Copy the full SHA bc4f919View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecad6df - Browse repository at this point
Copy the full SHA ecad6dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c8d2ec - Browse repository at this point
Copy the full SHA 4c8d2ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7844d7 - Browse repository at this point
Copy the full SHA d7844d7View commit details
Commits on Mar 17, 2022
-
Move status update to calling function.
Don't worry about status update when FetchWithASsociations fails. Just return errors from updateStatus
Configuration menu - View commit details
-
Copy full SHA for 205b1cf - Browse repository at this point
Copy the full SHA 205b1cfView commit details
Commits on Mar 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5177545 - Browse repository at this point
Copy the full SHA 5177545View commit details
Commits on Mar 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b850b4f - Browse repository at this point
Copy the full SHA b850b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6f801 - Browse repository at this point
Copy the full SHA 4e6f801View commit details
Commits on Mar 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f782303 - Browse repository at this point
Copy the full SHA f782303View commit details
Commits on Mar 31, 2022
-
move common.LowestVersionFromPods closer to where pods are retrieved.
Update status logic to update health properly. Add unit test for updating of health in agent status.
Configuration menu - View commit details
-
Copy full SHA for 0dea707 - Browse repository at this point
Copy the full SHA 0dea707View commit details -
Configuration menu - View commit details
-
Copy full SHA for 074933c - Browse repository at this point
Copy the full SHA 074933cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2894c06 - Browse repository at this point
Copy the full SHA 2894c06View commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 052fb3f - Browse repository at this point
Copy the full SHA 052fb3fView commit details