-
Notifications
You must be signed in to change notification settings - Fork 45
Conductor feature for Dedicated Networking #1003
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
Conversation
@@ -427,8 +421,23 @@ async fn reconcile_dedicated_networking_service( | |||
service_spec.insert("type".to_string(), json!(service_type)); | |||
let ip_allow_list = cdb.spec.ip_allow_list.clone().unwrap_or_else(|| vec![]); | |||
|
|||
if service_type == "LoadBalancer" && !ip_allow_list.is_empty() { | |||
service_spec.insert("loadBalancerSourceRanges".to_string(), json!(ip_allow_list)); | |||
// Allow ip_allow_list to allow all entries are in CIDR notation |
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.
Were you able to test this locally? If not please do that in dev.
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.
Tested it locally. Will test it out again in dev once its merged
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 👍
No description provided.