Commit 06c5921
committed
feat(k8s-intf): Add a watch k8s client function
Adds a method that can start a k8s watcher and call
a user specifed callback for every object change.
The watcher specifically watches for a particular
gateway agent crd corresponding to the gateway name
passed (which is typically the hostname of the gateway
in the Hedgehog Open Network Fabric).
This also explicitly lists rustls as a dependency so
that the ring provider can be specified as the kube-rs
libraries do not explicitly specify the provider causing
a panic at runtime.
Signed-off-by: Manish Vachharajani <[email protected]>1 parent 1c805cf commit 06c5921
5 files changed
+407
-6
lines changed
0 commit comments