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

Refactor endpoint handling and reconcilliation #21

Merged

Commits on Jul 6, 2023

  1. Disable cgo

    As part of the Go 1.20 release it seems like the default for `CGO_ENABLED` is no longer carried over from the tools. This leads to linking issues on systems that use different versions of glibc from what the base image uses. See golang/go#58550 for more details.
    
    This change should fix cosmonic-labs#16
    deverton-godaddy committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    57cdb69 View commit details
    Browse the repository at this point in the history
  2. Slim down the final image.

    Use `scratch` as a base image since we're generating a static binary
    anyway. Also be more explicity about the platform and target OS during
    the build.
    deverton-godaddy committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a9d3e58 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Refactor endpoint handling and reconcilliation.

    DRAFT
    
    With the release of Nomad 1.6 it's possible to get the network address
    of the allocation from Nomad. The change to enable this is only in the
    client library and does not require updating the Nomad server. The IP
    was sent back by older Nomad versions, it just wasn't available in the
    client.
    
    This enables refactoring the endpoint reconcilliation to make use of the
    IP address to identify the endpoint within Cilium.
    
    There is no longer a dependency on Consul for policies.
    
    Additional, endpoints are now labelled with the task group and task
    information as services can be created at those levels.
    deverton-godaddy committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    80a8fd8 View commit details
    Browse the repository at this point in the history
  2. Tidy

    deverton-godaddy committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    91899ed View commit details
    Browse the repository at this point in the history
  3. Update the readme and add some basic tests.

    Remove unused flags from the readme and command line and refactor the
    code to allow for testing.
    deverton-godaddy committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    1c476c9 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    0d6ea61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebd68f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c3ab54b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00be1e3 View commit details
    Browse the repository at this point in the history
  5. Missed one

    deverton-godaddy committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    61a49bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5eaa6f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Configuration menu
    Copy the full SHA
    1e6221c View commit details
    Browse the repository at this point in the history
  2. Remove stray return

    deverton-godaddy committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    a21fe9b View commit details
    Browse the repository at this point in the history