tigera / operator

Kubernetes operator for installing Calico and Calico Enterprise
Apache License 2.0
186 stars 140 forks source link

Add IP pool config to disable new allocations #3472

Closed caseydavenport closed 2 months ago

caseydavenport commented 2 months ago

Description

Add new operator API field to IP pools that is equivalent to the exisitng IP pool spec.disabled option.

This is necessary if we want to implement IP pool migration logic from this guide using the operator API: https://docs.tigera.io/calico/3.27/networking/ipam/migrate-pools#tutorial

Separately, I do wonder if we could make pool migraiton even easier in operator mode - could the operator automatically do most of those steps?

For PR author

For PR reviewers

A note for code reviewers - all pull requests must have the following: