Skip to content

Commit 27e60dc

Browse files
fix(crank): headers
Signed-off-by: undefinedhuman <[email protected]>
1 parent c850a8d commit 27e60dc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

content/master/cli/command-reference.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,6 @@ crossplane beta validate schema resources.yaml
10931093
Total 5 resources: 0 missing schemas, 4 success cases, 1 failure cases
10941094
```
10951095

1096-
10971096
### beta lint
10981097

10991098
The `crossplane beta lint` command checks [composite resource definitions]({{<ref "../concepts/composite-resource-definitions">}})
@@ -1105,7 +1104,7 @@ The `crossplane beta lint` command performs all checks offline.
11051104
A Kubernetes cluster running Crossplane isn't required.
11061105
{{< /hint >}}
11071106

1108-
### Flags
1107+
#### Flags
11091108

11101109
{{< table "table table-sm table-striped" >}}
11111110
| Short flag | Long flag | Description |
@@ -1115,7 +1114,9 @@ A Kubernetes cluster running Crossplane isn't required.
11151114
| | `--skip-reference` | Skip printing the reference docs to the rule that was violated. |
11161115
{{< /table >}}
11171116

1118-
#### Rule XRD001 - No boolean fields
1117+
#### Rules
1118+
1119+
##### Rule XRD001 - No boolean fields
11191120

11201121
Boolean fields are inflexible and cannot be extended. Replace them with enum-based strings so you can introduce additional states later.
11211122
See [Kubernetes API conventions](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#primitive-types)
@@ -1140,7 +1141,7 @@ properties:
11401141
- Disabled
11411142
```
11421143
1143-
#### Rule XRD002 - Check for required fields
1144+
##### Rule XRD002 - Check for required fields
11441145
11451146
Marking fields as required up front forces every user to provide them and makes future changes risky - this rule flags any `required:`
11461147
list in your XRD so you can decide if each field truly needs to be mandatory.
@@ -1157,7 +1158,7 @@ properties:
11571158
- version
11581159
```
11591160

1160-
#### Rule XRD003 - Check for missing descriptions
1161+
##### Rule XRD003 - Check for missing descriptions
11611162

11621163
Every property in your schema should include a description: so that `kubectl explain` and documentation generators can produce helpful output.
11631164

0 commit comments

Comments
 (0)