Skip to content
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

Merged
merged 6 commits into from
Dec 21, 2022

Conversation

ianstanton
Copy link
Member

@ianstanton ianstanton commented Dec 21, 2022

Add service and applicable test. Also added spec values + defaults for port and image .

Related to:

@ianstanton ianstanton marked this pull request as ready for review December 21, 2022 13:56
@ianstanton
Copy link
Member Author

@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.

@sjmiller609
Copy link
Contributor

@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.

Copy link
Contributor

@sjmiller609 sjmiller609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

Comment on lines +114 to +124
// 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());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@ianstanton ianstanton merged commit bd3aca0 into main Dec 21, 2022
@ianstanton ianstanton deleted the ian/cor-46-add-service-to-coredb-operator branch December 21, 2022 21:07
sjmiller609 pushed a commit that referenced this pull request Dec 5, 2023
sjmiller609 pushed a commit that referenced this pull request Dec 5, 2023
sjmiller609 pushed a commit that referenced this pull request Dec 5, 2023
* Adds extension install command

* Documents the extension install command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants