plugin/kubernetes: add ready function (#2709)
* plugin/kubernetes: add ready function Add ready function as the health function is now gone. Signed-off-by: Miek Gieben <miek@miek.nl> * Fix readme Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
parent
aa9c7a2e61
commit
43c3e0ab68
2 changed files with 9 additions and 0 deletions
4
plugin/kubernetes/ready.go
Normal file
4
plugin/kubernetes/ready.go
Normal file
|
@ -0,0 +1,4 @@
|
|||
package kubernetes
|
||||
|
||||
// Ready implements the ready.Readiness interface.
|
||||
func (k *Kubernetes) Ready() bool { return k.APIConn.HasSynced() }
|
Loading…
Add table
Add a link
Reference in a new issue