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 <iryna@hashicorp.com>
Co-authored-by: Kyle Schochenmaier <kyle.schochenmaier@hashicorp.com>
  • Loading branch information
3 people authored Mar 24, 2021
1 parent 6b1a0b0 commit 281552c
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 281552c

Please sign in to comment.