Skip to content

Commit 6bb1eca

Browse files
committed
Update step on adding new API version folder
Signed-off-by: John Collier <[email protected]>
1 parent 86ee9fb commit 6bb1eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/proposals/versioning-and-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Devfile Kubernetes API (defined in https://github.com/devfile/api/) is the s
1414

1515
**How to Update**:
1616

17-
1) Add a new folder in the source repository ([pkg/apis/workspaces](https://github.com/devfile/api/tree/master/pkg/apis/workspaces) in [devfile/api](https://github.com/devfile/api/))
17+
1) Add a new folder for the version in the [devfile/api](https://github.com/devfile/api/) repository under [pkg/apis/workspaces](https://github.com/devfile/api/tree/master/pkg/apis/workspaces). For example `pkg/apis/workspaces/v1` if bumping the API version to `v1`
1818
2) Add a schema and version in the CRD manifests
1919
3) Generate the JSON schema from the API. New JSON schema will be located under `schemas/latest`.
2020
4) Update the devworkspace operator and devfile library to consume the Go structs in the new API version, as needed.

0 commit comments

Comments
 (0)