Commit graph

4 commits

Author SHA1 Message Date
Calvin Leung Huang 8cefbca1c9
Refactor service registration (#8976)
* serivceregistration: refactor service registration logic to run later

* move state check to the internal func

* sr/kubernetes: update setInitialStateInternal godoc

* sr/kubernetes: remove return in setInitialState

* core/test: fix mockServiceRegistration

* address review feedback
2020-05-15 11:06:58 -07:00
Becca Petrin 4b2bbe3f73
Sanitize Vault version strings for Kubernetes (#8411)
* sanitize vault version strings for kube

* replace disallowed chars with dashes

* use strings.Map

* use switch for whitelisted chars
2020-02-24 14:19:58 -08:00
Becca Petrin 88e4868194
fix testserver in vault enterprise environment (#8358) 2020-02-14 18:17:58 -08:00
Becca Petrin 5a01a5af0f
Add Kubernetes service registration (#8249) 2020-02-13 09:56:29 -08:00