Update dependency operator-framework/operator-sdk to v1.38.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| operator-framework/operator-sdk | ironbank-github | minor |
v1.37.0 -> v1.38.0
|
⚠ WarningSome dependencies could not be looked up. Check the warning logs for more information.
Release Notes
operator-framework/operator-sdk (operator-framework/operator-sdk)
v1.38.0
v1.38.0
Changes
- For Go-based, Helm-based and Ansible-based operators this release moves to Kubernetes 1.30 API's and Kubebuilder v4 Scaffolding,
specifically utilizing the v4.1.1 version. The update to Kubebuiler results in some scaffolding changes which more information can be found below:
- Discontinue usage of kube-rbac-proxy in the default scaffolding of new projects. For further information, see: Action Required: Ensure that you no longer use gcr.io/kubebuilder images
- The
go/v2orgo/v3layouts have been removed, you must upgrade togo/v4to be compatible with this release and future updates. To know how to upgrade,check the migration documentation. - Re-introduces authn/authz protection for the metrics endpoint using
WithAuthenticationAndAuthorizationprovided by controller-runtime instead of kube-rbac-proxy; which usage was discontinued in the project. Please, ensure that you no longer use the imagegcr.io/kubebuilder/kube-rbac-proxy. Images provided undergcr.io/kubebuilder/will be unavailable from March 18, 2025. To learn more about any of the metrics changes please look at the Kubebuilder book metrics page. ForHelm-basedandAnsible-basedoperators, a new flag calledmetrics-require-rbacwas introduced into the runtime/binary, to control addingWithAuthenticationAndAuthorizationtoMetrics.FilterProviderof controller-runtime. This was done to ensure forwards and backwards compatibility of the binary and images with any scaffolded content. (#6862)
Bug Fixes
- An additional condition is included for matching
apiVersionof example CRs with CRDversionwhen searching for the CRD in the CSV. Previously, Theolm-spec-descriptorsscorecard test failed when multiple versions of CRD is included in the CSV. The CR specified inalm-examplesannotations are validated only against the first matched CRD (by name), which is incorrect. This ensures the correct CRD version is selected for validations. (#6784) - Fix naive YAML split in
run bundlecommand. (#6829)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.