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 Equinix Metal Load Balancer support #740

Merged
merged 16 commits into from
May 28, 2024

Commits on May 13, 2024

  1. feat: Add Equinix Metal Load Balancer support

    - Add internal package for interacting with Equinix Metal Load Balancer API
    - packetcluster_controller creates load balancer and listener port and stores their ids in packetCluster annotations.
    - packetmachine_controller creates an origin pool and origin port for each machine and stores their IDs in the packetMachine annotations.
    - CPEMLBConfig and EMLBID added to the packet cloud client package to be able to provide a config for the CPEM loadBalancer setting in the emlb templates.
    - Memory request for the Cluster API Provider Packet controller increased to 300Mi to avoid OOMing while debugging.
    - EMLB added as a valid VIPManager enum type.
    
    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    dependabot[bot] authored and cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    a3e31a0 View commit details
    Browse the repository at this point in the history
  2. fix: don't tell cpem about the VIP load balancer

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    8a27c63 View commit details
    Browse the repository at this point in the history
  3. fix: fix duplicate "origin" in origin naming.

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    08b9879 View commit details
    Browse the repository at this point in the history
  4. fix: only plumb ip address on localhost on the first machine

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    3e53a22 View commit details
    Browse the repository at this point in the history
  5. chore: re-make go-mod following rebase

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    b827ce3 View commit details
    Browse the repository at this point in the history
  6. chore: fix packetcluster crd base following merge with 1.7 branch

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 13, 2024
    Configuration menu
    Copy the full SHA
    b9ca34e View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. chore: add boilerplate

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 14, 2024
    Configuration menu
    Copy the full SHA
    68c3793 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. chore: fix linting issues

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 20, 2024
    Configuration menu
    Copy the full SHA
    36203e2 View commit details
    Browse the repository at this point in the history
  2. test: add additional tests

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 20, 2024
    Configuration menu
    Copy the full SHA
    f440057 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. test: test newemlb function

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 23, 2024
    Configuration menu
    Copy the full SHA
    911648e View commit details
    Browse the repository at this point in the history
  2. test: make token exchange settable so it can be tested, add test

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 23, 2024
    Configuration menu
    Copy the full SHA
    ae9a1f3 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. refactor: change token exchanger to unmarshal expires_in better

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 24, 2024
    Configuration menu
    Copy the full SHA
    0737d5b View commit details
    Browse the repository at this point in the history
  2. test: add tests for token-exchanger, now functional

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 24, 2024
    Configuration menu
    Copy the full SHA
    5712aff View commit details
    Browse the repository at this point in the history
  3. chore: fix comment lint

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 24, 2024
    Configuration menu
    Copy the full SHA
    34e472b View commit details
    Browse the repository at this point in the history
  4. test: use gomega for asserts instead of testify to avoid extra depend…

    …ency
    
    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 24, 2024
    Configuration menu
    Copy the full SHA
    ad4b492 View commit details
    Browse the repository at this point in the history
  5. test: clean up wanterr logic to be more readable as an assert

    Signed-off-by: Chris Privitere <23177737+cprivitere@users.noreply.github.com>
    cprivitere committed May 24, 2024
    Configuration menu
    Copy the full SHA
    4ca3b76 View commit details
    Browse the repository at this point in the history