From e7987fb32751961c15cd3d5f2e5ad3d2a81b51bd Mon Sep 17 00:00:00 2001 From: Anlan Du Date: Wed, 26 Jun 2024 20:33:06 -0700 Subject: [PATCH] docs: Update mutation assign doc (#3433) Signed-off-by: Anlan Du --- website/docs/mutation.md | 3 +++ website/versioned_docs/version-v3.11.x/mutation.md | 3 +++ website/versioned_docs/version-v3.12.x/mutation.md | 3 +++ website/versioned_docs/version-v3.13.x/mutation.md | 3 +++ website/versioned_docs/version-v3.14.x/mutation.md | 3 +++ website/versioned_docs/version-v3.6.x/mutation.md | 3 +++ website/versioned_docs/version-v3.7.x/mutation.md | 3 +++ website/versioned_docs/version-v3.8.x/mutation.md | 3 +++ website/versioned_docs/version-v3.9.x/mutation.md | 3 +++ 9 files changed, 27 insertions(+) diff --git a/website/docs/mutation.md b/website/docs/mutation.md index 7944ed8b56d..a66f7d2c403 100644 --- a/website/docs/mutation.md +++ b/website/docs/mutation.md @@ -299,6 +299,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.11.x/mutation.md b/website/versioned_docs/version-v3.11.x/mutation.md index 8dd16323da5..e6bd477747e 100644 --- a/website/versioned_docs/version-v3.11.x/mutation.md +++ b/website/versioned_docs/version-v3.11.x/mutation.md @@ -260,6 +260,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.12.x/mutation.md b/website/versioned_docs/version-v3.12.x/mutation.md index 7944ed8b56d..a66f7d2c403 100644 --- a/website/versioned_docs/version-v3.12.x/mutation.md +++ b/website/versioned_docs/version-v3.12.x/mutation.md @@ -299,6 +299,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.13.x/mutation.md b/website/versioned_docs/version-v3.13.x/mutation.md index 7944ed8b56d..a66f7d2c403 100644 --- a/website/versioned_docs/version-v3.13.x/mutation.md +++ b/website/versioned_docs/version-v3.13.x/mutation.md @@ -299,6 +299,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.14.x/mutation.md b/website/versioned_docs/version-v3.14.x/mutation.md index 7944ed8b56d..a66f7d2c403 100644 --- a/website/versioned_docs/version-v3.14.x/mutation.md +++ b/website/versioned_docs/version-v3.14.x/mutation.md @@ -299,6 +299,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.6.x/mutation.md b/website/versioned_docs/version-v3.6.x/mutation.md index 83debf2f7cf..79c2a04fc4a 100644 --- a/website/versioned_docs/version-v3.6.x/mutation.md +++ b/website/versioned_docs/version-v3.6.x/mutation.md @@ -195,6 +195,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.7.x/mutation.md b/website/versioned_docs/version-v3.7.x/mutation.md index b5202d84ec5..5cea5fa2b9a 100644 --- a/website/versioned_docs/version-v3.7.x/mutation.md +++ b/website/versioned_docs/version-v3.7.x/mutation.md @@ -258,6 +258,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.8.x/mutation.md b/website/versioned_docs/version-v3.8.x/mutation.md index 45f856a2ffa..b0f504f5ecb 100644 --- a/website/versioned_docs/version-v3.8.x/mutation.md +++ b/website/versioned_docs/version-v3.8.x/mutation.md @@ -258,6 +258,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system` diff --git a/website/versioned_docs/version-v3.9.x/mutation.md b/website/versioned_docs/version-v3.9.x/mutation.md index 45f856a2ffa..b0f504f5ecb 100644 --- a/website/versioned_docs/version-v3.9.x/mutation.md +++ b/website/versioned_docs/version-v3.9.x/mutation.md @@ -258,6 +258,9 @@ spec: parameters: assign: value: false + pathTests: + - subPath: "spec.containers[name:foo]" + condition: MustExist ``` #### Setting imagePullPolicy of all containers to Always in all namespaces except namespace `system`