Skip to content

Commit

Permalink
Merge pull request #3416 from lauchokyip/improveDoc1
Browse files Browse the repository at this point in the history
📖 Added user prompt for multi version api doc
  • Loading branch information
k8s-ci-robot authored May 16, 2023
2 parents eb80472 + 6dfd867 commit 3fa4e88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/book/src/multiversion-tutorial/api-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ We'll need a new API version for this change. Let's call it v2:
kubebuilder create api --group batch --version v2 --kind CronJob
```

Press `y` for "Create Resource" and `n` for "Create Controller".

Now, let's copy over our existing types, and make the change:

{{#literatego ./testdata/project/api/v2/cronjob_types.go}}
Expand Down

0 comments on commit 3fa4e88

Please sign in to comment.