Replies: 2 comments 5 replies
-
Hi @kdubb , Vault seems to have a health endpoint: https://developer.hashicorp.com/vault/api-docs/system/health Are you deploying Vault yourself, this is there a Another option is to poll the endpoint with a |
Beta Was this translation helpful? Give feedback.
-
Yes all our services would be The problem I'm having is with two-step dependencies. Pointing the CRD at the |
Beta Was this translation helpful? Give feedback.
-
We have implemented a number of CRDs using
DependentResource
s to successfully manage their dependencies; it's working quite well.Some of our CRDs need to apply their configuration to a running service; an example would be configuring a secret engine in Vault and continuously ensuring its configuration. Although we have a number of similar scenarios.
How should one go about tracking the Vault service. Obviously our CRD would add a reference to the target service. This would give us not only a target service to apply to but also provide an object to track. Unfortunately I'm having trouble figuring out how to get notified of changes in the service (e.g. going from healthy to unhealthy and vice/versa). Since
Service
objects don't actually carry a health status.My thought was to add
DependentResource
for theService
and then use that to jump to thePod
s using theselector
and check if any are healthy. This is where it's not fitting together for me though.Any help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions