Skip to content

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

Merged
merged 7 commits into from
Oct 8, 2024
Merged

Conductor feature for Dedicated Networking #1003

merged 7 commits into from
Oct 8, 2024

Conversation

joshuajerin
Copy link
Contributor

No description provided.

@@ -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
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Contributor

@shahadarsh shahadarsh left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@joshuajerin joshuajerin merged commit afe564e into main Oct 8, 2024
17 of 18 checks passed
@joshuajerin joshuajerin deleted the dn-conductor branch October 8, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants