From 2a914bf5feec9557c68f5bcf1babac1dca88c344 Mon Sep 17 00:00:00 2001 From: Mehmet Enes Date: Sun, 30 Jun 2024 19:27:56 +0300 Subject: [PATCH 1/3] add unknown field check to validate command Signed-off-by: Mehmet Enes --- content/master/cli/command-reference.md | 3 ++- content/v1.16/cli/command-reference.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/content/master/cli/command-reference.md b/content/master/cli/command-reference.md index a8b0b969..03758444 100644 --- a/content/master/cli/command-reference.md +++ b/content/master/cli/command-reference.md @@ -828,7 +828,8 @@ Configuration/platform-ref-aws v0.9.0 True The `crossplane beta validate` command validates [compositions]({{}}) against provider or XRD -schemas using the Kubernetes API server's validation library. +schemas using the Kubernetes API server's validation library +with additional validation checks such as Unknown Field Check. The `crossplane beta validate` command supports validating the following scenarios: diff --git a/content/v1.16/cli/command-reference.md b/content/v1.16/cli/command-reference.md index a8b0b969..73e7566c 100644 --- a/content/v1.16/cli/command-reference.md +++ b/content/v1.16/cli/command-reference.md @@ -828,7 +828,8 @@ Configuration/platform-ref-aws v0.9.0 True The `crossplane beta validate` command validates [compositions]({{}}) against provider or XRD -schemas using the Kubernetes API server's validation library. +schemas using the Kubernetes API server's validation library +with additional validation checks such as Unknown Field Check. The `crossplane beta validate` command supports validating the following scenarios: From dcc12fe3dcecbc952361e8ce02cf4857083a411d Mon Sep 17 00:00:00 2001 From: Mehmet Enes Date: Tue, 2 Jul 2024 13:05:39 +0300 Subject: [PATCH 2/3] updating master content and removing content from v1.16 Signed-off-by: Mehmet Enes --- content/master/cli/command-reference.md | 3 ++- content/v1.16/cli/command-reference.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/master/cli/command-reference.md b/content/master/cli/command-reference.md index 03758444..23ff2f0f 100644 --- a/content/master/cli/command-reference.md +++ b/content/master/cli/command-reference.md @@ -829,7 +829,8 @@ Configuration/platform-ref-aws v0.9.0 True The `crossplane beta validate` command validates [compositions]({{}}) against provider or XRD schemas using the Kubernetes API server's validation library -with additional validation checks such as Unknown Field Check. +with additional validation such as checking for unknown fields, +a common source of difficult to debug issues in Crossplane. The `crossplane beta validate` command supports validating the following scenarios: diff --git a/content/v1.16/cli/command-reference.md b/content/v1.16/cli/command-reference.md index 73e7566c..a8b0b969 100644 --- a/content/v1.16/cli/command-reference.md +++ b/content/v1.16/cli/command-reference.md @@ -828,8 +828,7 @@ Configuration/platform-ref-aws v0.9.0 True The `crossplane beta validate` command validates [compositions]({{}}) against provider or XRD -schemas using the Kubernetes API server's validation library -with additional validation checks such as Unknown Field Check. +schemas using the Kubernetes API server's validation library. The `crossplane beta validate` command supports validating the following scenarios: From 0e2fd9eeea47413e2cb826e85de1b3c307afce36 Mon Sep 17 00:00:00 2001 From: Mehmet Enes Date: Wed, 3 Jul 2024 22:33:09 +0300 Subject: [PATCH 3/3] change 'additional' to 'extra' Signed-off-by: Mehmet Enes --- content/master/cli/command-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/master/cli/command-reference.md b/content/master/cli/command-reference.md index 23ff2f0f..932d5865 100644 --- a/content/master/cli/command-reference.md +++ b/content/master/cli/command-reference.md @@ -829,7 +829,7 @@ Configuration/platform-ref-aws v0.9.0 True The `crossplane beta validate` command validates [compositions]({{}}) against provider or XRD schemas using the Kubernetes API server's validation library -with additional validation such as checking for unknown fields, +with extra validation such as checking for unknown fields, a common source of difficult to debug issues in Crossplane. The `crossplane beta validate` command supports validating the following