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

Preparatory refactoring for IPAM pools #24247

Merged
merged 4 commits into from
Mar 14, 2023

Commits on Mar 8, 2023

  1. pkg/command: allow semicolon in map values in GetStringMapString

    This is needed to parse entries like:
    
        cluster-pool-map: \
            "mars=ipv4-cidrs:172.16.0.0/16,172.17.0.0/16;ipv4-mask-size:24
             jupiter=ipv4-cidrs:192.168.0.0/19;ipv4-mask-size:26"
    
    which will be used for IPAM pools in cilium-operator.
    
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    tklauser authored and gandro committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    4947c1a View commit details
    Browse the repository at this point in the history
  2. clusterpool: Move CIDRAllocator into own package

    This commit contains no functional changes.
    
    Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    gandro authored and tklauser committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    b865d65 View commit details
    Browse the repository at this point in the history
  3. clusterpool/cidralloc: inline NewCIDRSet

    This function is only used once inside the package, so inline it
    
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    tklauser committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    6fe3afa View commit details
    Browse the repository at this point in the history
  4. ipam: move podCIDRPool to separate file

    It will be used by the IPAM pools allocator in a subsequent
    commit. This commit contains no functional changes.
    
    Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    gandro authored and tklauser committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    1cc6e85 View commit details
    Browse the repository at this point in the history