Skip to content

Commit b27cbcd

Browse files
Add common wait conditions for Deployments, LoadBalancer Services, and Ingress (#1710)
* Add wait conditions for Deployments, LoadBalancers, and Ingress These are common wait conditions for these resources, and are useful for waiting for exposed services to become available. Signed-off-by: Robert Detjens <[email protected]> * Ignore services that are not LoadBalancers Signed-off-by: Robert Detjens <[email protected]> * Add tests for all condition wait functions These tests run the condition function against included yaml snippets of objects returned by the K8S API to check against known-state statuses. Signed-off-by: Robert Detjens <[email protected]> --------- Signed-off-by: Robert Detjens <[email protected]>
1 parent 4234e8a commit b27cbcd

File tree

2 files changed

+749
-1
lines changed

2 files changed

+749
-1
lines changed

kube-runtime/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ hostname.workspace = true
5454
[dev-dependencies]
5555
kube = { path = "../kube", features = ["derive", "client", "runtime"], version = "<1.0.0, >=0.60.0" }
5656
serde_json.workspace = true
57+
serde_yaml.workspace = true
5758
tokio = { workspace = true, features = ["full", "test-util"] }
5859
rand.workspace = true
5960
schemars.workspace = true

0 commit comments

Comments
 (0)