You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,7 +42,7 @@ cherry-picked to the aforementioned branch to get them to be published.
42
42
The cherry-picks will automatically be published to the book once their PR
43
43
merges.
44
44
45
-
**When you publish a KubeBuilder release**, be sure to also submit a PR
45
+
**When you publish a Kubebuilder release**, be sure to also submit a PR
46
46
that merges the main branch into [book-v3][book-branch], so that it
47
47
describes the latest changes in the new release.
48
48
@@ -63,17 +63,17 @@ take care of building and publishing the artifacts.
63
63
64
64
| Name | Example | Description |
65
65
|--- |--- |--- |
66
-
|KubeBuilder version |`v2.2.0`, `v2.3.0`, `v2.3.1`| Tagged versions of the KubeBuilder project, representing changes to the source code in this repository. See the [releases][kb-releases] page for binary releases. |
66
+
|Kubebuilder version |`v2.2.0`, `v2.3.0`, `v2.3.1`| Tagged versions of the Kubebuilder project, representing changes to the source code in this repository. See the [releases][kb-releases] page for binary releases. |
67
67
| Project version |`"1"`, `"2"`, `"3"`| Project version defines the scheme of a `PROJECT` configuration file. This version is defined in a `PROJECT` file's `version`. |
68
68
| Plugin version |`v2`, `v3`| Represents the version of an individual plugin, as well as the corresponding scaffolding that it generates. This version is defined in a plugin key, ex. `go.kubebuilder.io/v2`. See the [design doc][cli-plugins-versioning] for more details. |
69
69
70
70
### Incrementing versions
71
71
72
-
For more information on how KubeBuilder release versions work, see the [semver](https://semver.org/) documentation.
72
+
For more information on how Kubebuilder release versions work, see the [semver](https://semver.org/) documentation.
73
73
74
-
Project versions should only be increased if a breaking change is introduced in the PROJECT file scheme itself. Changes to the Go scaffolding or the KubeBuilder CLI *do not* affect project version.
74
+
Project versions should only be increased if a breaking change is introduced in the PROJECT file scheme itself. Changes to the Go scaffolding or the Kubebuilder CLI *do not* affect project version.
75
75
76
-
Similarly, the introduction of a new plugin version might only lead to a new minor version release of KubeBuilder, since no breaking change is being made to the CLI itself. It'd only be a breaking change to KubeBuilder if we remove support for an older plugin version. See the plugins design doc [versioning section][cli-plugins-versioning]
76
+
Similarly, the introduction of a new plugin version might only lead to a new minor version release of Kubebuilder, since no breaking change is being made to the CLI itself. It'd only be a breaking change to Kubebuilder if we remove support for an older plugin version. See the plugins design doc [versioning section][cli-plugins-versioning]
77
77
for more details on plugin versioning.
78
78
79
79
**NOTE:** the scheme for project version `"2"` was defined before the concept of plugins was introduced, so plugin `go.kubebuilder.io/v2` is implicitly used for those project types. Schema for project versions `"3"` and beyond define a `layout` key that informs the plugin system of which plugin to use.
@@ -88,12 +88,12 @@ version numbers and paths. All further breaking changes to the plugin should be
88
88
plugin would then be frozen to breaking changes.
89
89
90
90
You must also add a migration guide to the [migrations](https://book.kubebuilder.io/migrations.html)
91
-
section of the KubeBuilder book in your PR. It should detail the steps required
91
+
section of the Kubebuilder book in your PR. It should detail the steps required
92
92
for users to upgrade their projects from `vX` to `v(X+1)-alpha`.
93
93
94
94
### Example
95
95
96
-
KubeBuilder scaffolds projects with plugin `go.kubebuilder.io/v3` by default.
96
+
Kubebuilder scaffolds projects with plugin `go.kubebuilder.io/v3` by default.
97
97
98
98
You create a feature that adds a new marker to the file `main.go` scaffolded by `init`
99
99
that `create api` will use to update that file. The changes introduced in your feature
Copy file name to clipboardexpand all lines: docs/book/src/plugins/plugins.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Plugins
2
2
3
-
Since the `3.0.0`KubeBuilder version, preliminary support for plugins was added. You can [Extend the CLI and Scaffolds][extending-cli] as well. See that when users run the CLI commands to perform the scaffolds, the plugins are used:
3
+
Since the `3.0.0`Kubebuilder version, preliminary support for plugins was added. You can [Extend the CLI and Scaffolds][extending-cli] as well. See that when users run the CLI commands to perform the scaffolds, the plugins are used:
4
4
5
5
- To initialize a project with a chain of global plugins:
0 commit comments