-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
entries: | ||
- description: > | ||
Changed the go.sdk.operatorframework.io plugin to only write a `plugins` PROJECT field if the | ||
project version is 3-alpha or above, as this field was introduced in this project version. | ||
Changed the `go.sdk.operatorframework.io` plugin to only write a `plugins` PROJECT field and | ||
run the OLM integration and scorecard plugins if the project version is "3-alpha" or above. | ||
kind: change | ||
breaking: false | ||
breaking: true | ||
migration: | ||
header: Remove the `plugins` field from Go project's PROJECT file if it has `version: "2"` | ||
header: Upgrade your project from version "2" to "3-alpha" | ||
body: > | ||
The SDK's default Go plugin no longer write a `plugins` PROJECT field if the | ||
project version is "2", as this field was introduced in project version "3-alpha", | ||
so remove this field and any data within it. | ||
The SDK's default Go plugin no longer supports OLM- or scorecard-related project files | ||
nor writes a `plugins` PROJECT field for projects scaffolded previously with | ||
`operator-sdk init --project-version=2`, Please migrate to project version "3-alpha" | ||
for support of these features by adding the following to your `PROJECT` file: | ||
```yaml | ||
version: "3-alpha" # Updated from "2" | ||
projectName: <output of $(basename $(pwd))> | ||
layout: go.kubebuilder.io/v2 | ||
plugins: | ||
go.sdk.operatorframework.io/v2-alpha: {} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters