-
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.
internal/plugins: scaffold a vanilla
go.kubebuilder.io/v2
project w…
…hen `--project-version=2` (#3697) The SDK should be scaffolding the vanilla `go.kubebuilder.io/v2` plugin if `--project-version 2` is set, since the `go.sdk.operatorframework.io` phase 2 plugin requires a 3-alpha project. internal/plugins: only run phase 2 plugins for project versions >= 3-alpha.
- Loading branch information
Eric Stroczynski
committed
Aug 8, 2020
1 parent
2a654eb
commit ccd621b
Showing
9 changed files
with
57 additions
and
12 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
entries: | ||
- description: > | ||
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: true | ||
migration: | ||
header: Upgrade your project from version "2" to "3-alpha" | ||
body: > | ||
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
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
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