-
Notifications
You must be signed in to change notification settings - Fork 36
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
Remove IngressRouteTCP
for Stopped Instances
#1058
base: main
Are you sure you want to change the base?
Conversation
IngressRouteTCP
when spec.stop=true
IngressRouteTCP
when spec.stop=true
IngressRouteTCP
when spec.stop=true
IngressRouteTCP
for Stopped Instances
return Err(Action::requeue(Duration::from_secs(300))); | ||
} | ||
|
||
let prefix_extra = format!("extra-{}-rw", cdb.name_any().as_str()); |
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.
Grabbed this from here
tembo/tembo-operator/src/ingress.rs
Line 95 in 5b154ff
let ingress_route_tcp_name = format!("extra-{}-rw", cdb.name_any()); |
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.
I believe it might also be best to add some tests for this in the intergration test. You should be able to add some asserts in the functional_test_hibernate
test to check if the IngressRouteTCP
was removed or not.
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.
LGTM. I am going to go ahead and approve, but we should figure out why the tests are failing
https://linear.app/tembo/issue/TEM-2241/%5Btembo-operator%5D-when-paused-we-should-remove-the-ingressroutetcp-for