Skip to content

Commit

Permalink
Endpoints controller with tests (#455)
Browse files Browse the repository at this point in the history
Add basic endpoints controller with tests

* reconciles k8s services with Consul

* supports creating, updating, and deleting endpoints, both with matching Consul and k8s service names, and with different Consul and k8s service names


Co-authored-by: Iryna Shustava <[email protected]>
Co-authored-by: Kyle Schochenmaier <[email protected]>
  • Loading branch information
3 people authored and Ashwin Venkatesh committed Mar 26, 2021
1 parent 74474ab commit b23b91a
Show file tree
Hide file tree
Showing 5 changed files with 1,857 additions and 2 deletions.
1 change: 1 addition & 0 deletions connect-inject/container_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const (
InjectInitCopyContainerName = "copy-consul-bin"
InjectInitContainerName = "consul-connect-inject-init"
MetaKeyPodName = "pod-name"
MetaKeyKubeServiceName = "k8s-service-name"
MetaKeyKubeNS = "k8s-namespace"
)

Expand Down
Loading

0 comments on commit b23b91a

Please sign in to comment.