From 54d0ee9cdb2c1e2f7903d8dec3d9076a5521570a Mon Sep 17 00:00:00 2001 From: Justin Kabonick Date: Tue, 1 Oct 2024 10:36:56 -0400 Subject: [PATCH] Update README with new condition fields Signed-off-by: Justin Kabonick --- docs/resources/kubectl_manifest.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/docs/resources/kubectl_manifest.md b/docs/resources/kubectl_manifest.md index b406c41f..cdd5f059 100644 --- a/docs/resources/kubectl_manifest.md +++ b/docs/resources/kubectl_manifest.md @@ -38,7 +38,7 @@ YAML ### With explicit `wait_for` -If `wait_for` is specified, upon applying the resource, provider will wait for **all** conditions to become true before proceeding further. +If `wait_for` is specified, upon applying the resource, provider will wait for **all** conditions to become true before proceeding further. ```hcl resource "kubectl_manifest" "test" { @@ -56,6 +56,14 @@ resource "kubectl_manifest" "test" { value = "^(\\d+(\\.|$)){4}" value_type = "regex" } + condition { + type = "ContainersReady" + status = "True" + } + condition { + type = "Ready" + status = "True" + } } yaml_body = <