v1.3.0
Update packagemanifests
make recipe variable PKG_MAN_OPTS
If your project uses the packagemanifests
make recipe, update your PKG_MAN_OPTS
variable to include PKG_FROM_VERSION
instead of FROM_VERSION
, ex:
PKG_MAN_OPTS ?= $(PKG_FROM_VERSION) $(PKG_CHANNELS) $(PKG_IS_DEFAULT_CHANNEL)
See #4303 for more details.
Update your Go project’s controller-runtime version to v0.6.4
In your go.mod file, update the sigs.k8s.io/controller-runtime
version to v0.6.4
See #4282 for more details.
Upgrade your Go project from “go.kubebuilder.io/v2” to “go.kubebuilder.io/v3”
The newly released go/v3 plugin has many new features and (breaking) changes incompatible with projects created by go/v2. You are not required to upgrade and your go/v2 project will continue to work with new operator-sdk versions. If you wish to upgrade, check out the upstream migration guide.
Additionally, if using project version “3-alpha”, you must update your plugins
config field:
Old:
plugins:
go.sdk.operatorframework.io/v2-alpha: {}
New:
plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
See #4307 for more details.
Last modified November 23, 2022: docs/upgrade-sdk-version/v1.3.0.md: correct link to migration guide (#6191) (61388f13)