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

V0.8.4/specifyips #3330

Open
wants to merge 1 commit into
base: release-v0.8
Choose a base branch
from

Conversation

xumjbn
Copy link

@xumjbn xumjbn commented Mar 27, 2024

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@Icarus9913 Icarus9913 changed the base branch from main to release-v0.8 March 27, 2024 09:20
@@ -195,6 +196,37 @@ func (im *ipPoolManager) genRandomIP(ctx context.Context, ipPool *spiderpoolv2be
}
resIP := availableIPs[0]

assignIpMap := make(map[string][]string)
if anno, ok := pod.Annotations["ipam/ips"]; ok {
Copy link
Collaborator

Choose a reason for hiding this comment

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

1 it likely does not follow the annotation prefix of the spiderpool

2 does it likely make ip conflict with ip assigned in this way of spiderippool

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.

None yet

2 participants