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

Cluster Peering #1273

Merged
merged 11 commits into from
Jun 16, 2022
Merged

Cluster Peering #1273

merged 11 commits into from
Jun 16, 2022

Commits on Jun 16, 2022

  1. Configuration menu
    Copy the full SHA
    2c6eb17 View commit details
    Browse the repository at this point in the history
  2. PeeringAcceptor controller (#1225)

    Adds new PeeringAcceptor CRD and controller with unit tests.
    
    This controller determines whether to generate a new peering token in Consul by reconciling the PeeringAcceptor resource. It currently supports writing the peering token to a K8s secret.
    
    Generating the new CRD and API:
    After updating control-plane/PROJECT L6 to reference the control plane
    folder, ran the command:
    `operator-sdk create api --group consul --version v1alpha1 --kind Peering --controller --namespaced=true --make=false --resource=true`
    ndhanushkodi authored and thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    5f317b5 View commit details
    Browse the repository at this point in the history
  3. PeeringDialer controller (#1236)

    PeeringDialer CRD and controller, not including unit tests.
    ndhanushkodi authored and thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    4608c90 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db6f47e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e848cf View commit details
    Browse the repository at this point in the history
  6. Backfill unit tests for peering dialler (#1265)

    - Clean up some of the logic in peering dialler and acceptor
    - Rename handler -> connectWebhook
    thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    636816e View commit details
    Browse the repository at this point in the history
  7. Add Peer field to Intention CRD source intention (#1263)

    update source intentions with peer name and bump api module and change initiate -> establish
    ndhanushkodi authored and thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    0b38248 View commit details
    Browse the repository at this point in the history
  8. Add finalizers to peering acceptor and dialer

    - Remove ownerRef from secret created by acceptor.
    thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    d2fa0ad View commit details
    Browse the repository at this point in the history
  9. add a helm value for cluster peering

    - when global.peering.enabled is true, and connectInject.enabled is true, enable the peering controllers and the peering CRDs.
    ndhanushkodi authored and thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    e9f53c4 View commit details
    Browse the repository at this point in the history
  10. Address review comments to Peering Acceptor and Dialer.

    - rename exported service CRD consumer.peerName field from peerName -->
    peer
    - rename ConnectWebhook --> MeshWebhook
    - add some missing unit test cases
    - only add permissions to connect-inject service account for peering CRs
    when peering is enabled
    thisisnotashwin committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    ac0e7b3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    430e52f View commit details
    Browse the repository at this point in the history