mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Add Kubernetes service registration (#8249)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user