Skip to content

Commit

Permalink
trying to fix build error by examining hugo shortcuts
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Zaniewski <[email protected]>
  • Loading branch information
Piotr Zaniewski committed Feb 14, 2024
1 parent cf17878 commit 1e934e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions content/master/cli/command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ releases.

### beta validate

The `crossplane beta validate` validates [compositions]({{<ref "../concepts/compositions>"}}) against provider or XRD schema using
The `crossplane beta validate` validates compositions against provider or XRD schema using
Kubernetes API server's validation library.

The validate command enables various validation scenarios:
Expand All @@ -344,13 +344,11 @@ The `crossplane beta validate` command performs all validation offline without r
Validate XRD [CEL Rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules)

{{< expand "An example validation rule" >}}

```yaml
x-kubernetes-validations:
- rule: "self.minReplicas <= self.replicas && self.replicas <= self.maxReplicas"
message: "replicas should be in between minReplicas and maxReplicas."
```
{{< /expand >}}
`crossplane beta validate xrd.yaml rong-xr.yaml`
Expand Down

0 comments on commit 1e934e5

Please sign in to comment.