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

Add getAllRemoteRepositoryHosts api for setting up egress network policy #147

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

ruhan1
Copy link
Contributor

@ruhan1 ruhan1 commented Apr 18, 2024

MMENG-4062 TenantEgress configuration in IAD2
Let's use this to generate Egress policy.

@ruhan1 ruhan1 requested review from ligangty and sswguo April 18, 2024 02:54
@sswguo
Copy link
Member

sswguo commented Apr 18, 2024

Just wonder if it's TenantEgress or EgressNetworkPolicy that we can modify ? and can we move this into gitlab for generating the template ? leaving the API just returning the host.

@ruhan1
Copy link
Contributor Author

ruhan1 commented Apr 18, 2024

Just wonder if it's TenantEgress or EgressNetworkPolicy that we can modify ? and can we move this into gitlab for generating the template ? leaving the API just returning the host.

I double checked it and the EgressNetworkPolicy is for MP, TenantEgress is for MP+. So it's better make the api simple. I'll remove the template and just return the simple string.

@ruhan1 ruhan1 force-pushed the main-getAllRemoteRepositoryHostnames branch from 8eef272 to 8817004 Compare April 18, 2024 06:10
@ruhan1
Copy link
Contributor Author

ruhan1 commented Apr 18, 2024

@sswguo updated. pls review.

@sswguo
Copy link
Member

sswguo commented Apr 18, 2024

LGTM.

@ruhan1 ruhan1 merged commit 6aa9a8f into Commonjava:main Apr 18, 2024
1 check passed
@ruhan1 ruhan1 deleted the main-getAllRemoteRepositoryHostnames branch April 18, 2024 06:28
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.

2 participants