Add Kubernetes service registration (#8249)

This commit is contained in:
Becca Petrin
2020-02-13 09:56:29 -08:00
committed by GitHub
parent 942dd1ef9e
commit 0937a58ad7
21 changed files with 2123 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ import (
sr "github.com/hashicorp/vault/serviceregistration"
csr "github.com/hashicorp/vault/serviceregistration/consul"
ksr "github.com/hashicorp/vault/serviceregistration/kubernetes"
)
const (
@@ -161,7 +162,8 @@ var (
}
serviceRegistrations = map[string]sr.Factory{
"consul": csr.NewServiceRegistration,
"consul": csr.NewServiceRegistration,
"kubernetes": ksr.NewServiceRegistration,
}
)