-
Notifications
You must be signed in to change notification settings - Fork 35
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
[COR-46] Add service to coredb-operator #24
Conversation
@ChuckHend @sjmiller609 JFYI I had a test failure on the first run: https://github.com/CoreDB-io/coredb/actions/runs/3752632886/jobs/6375010728. It succeeded on retry. Okay for now, but let's keep an eye out for flaky tests. |
absolutely, flakey tests are not acceptable. I'll increase the timeout, maybe 30 seconds was a bit optimistic. |
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.
Great!
// After the PATCH to CoreDB, we expect a PATCH to Service | ||
let (request, send) = handle | ||
.next_request() | ||
.await | ||
.expect("Kube API called to PATCH Service"); | ||
assert_eq!(request.method(), http::Method::PATCH); | ||
assert_eq!( | ||
request.uri().to_string(), | ||
format!("/api/v1/namespaces/testns/services/testdb?&force=true&fieldManager=cntrlr") | ||
); | ||
send.send_response(Response::builder().body(request.into_body()).unwrap()); |
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.
😄
* Adds extension install command * Documents the extension install command
Add service and applicable test. Also added spec values + defaults for
port
andimage
.Related to: