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

prevent the deletion of ippool with IPs in use #4548

Open
weizhoublue opened this issue Jan 8, 2025 · 0 comments
Open

prevent the deletion of ippool with IPs in use #4548

weizhoublue opened this issue Jan 8, 2025 · 0 comments
Assignees

Comments

@weizhoublue
Copy link
Collaborator

weizhoublue commented Jan 8, 2025

What would you like to be added?

add two environmental variables for turning on or off the following features:
(1) webhook prevents the deletion of ippool with IPs in use
pool.Status.AllocatedIPs == 0 or pool.Status.AllocatedIPs == nil
(1) webhook prevents the deletion of subnet with IPs in use

these variables are set to false by default

Why is this needed?

No response

How to implement it (if possible)?

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants