Skip to content

Commit 79db6e9

Browse files
authored
Update generating-crd.md
`no version conversion webhooks` should use `trivialVersions=true`.
1 parent c7a28a2 commit 79db6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/reference/generating-crd.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ doing.
179179
Each controller-gen "generator" is controlled by an option to
180180
controller-gen, using the same syntax as markers. For instance, to
181181
generate CRDs with "trivial versions" (no version conversion webhooks), we
182-
call `controller-gen crd:trivialVersions=false paths=./api/...`.
182+
call `controller-gen crd:trivialVersions=true paths=./api/...`.
183183

184184
controller-gen also supports different output "rules" to controller how
185185
and where output goes. Notice the `manifests` make rule (condensed

0 commit comments

Comments
 (0)