Skip to content

validation: use corrected API deprecation validator - #7141

Open
sebrandon1 wants to merge 2 commits into
operator-framework:masterfrom
sebrandon1:fix/api-deprecation-validator
Open

sebrandon1 wants to merge 2 commits into
operator-framework:masterfrom
sebrandon1:fix/api-deprecation-validator

Conversation

@sebrandon1

@sebrandon1 sebrandon1 commented Oct 5, 2026 •

Copy link
Copy Markdown

Summary

Update Operator SDK to operator-framework/api v0.43.0, the first released API version containing the RBAC deprecation false-positive fix. The validator no longer warns for RBAC rules that name resources with supported API versions, while checks for deprecated manifest API versions and removed resources remain.

Dependency scope

API v0.43.0 requires newer Kubernetes libraries, so this PR also:

  • Moves all k8s.io modules (api, apimachinery, client-go, apiserver, component-base, cli-runtime, kubectl) to v0.35.4 so they stay on one minor version.
  • Raises controller-runtime from v0.21.0 to v0.23.3, which adds Apply to the client interface. The SDK test client now forwards it.
  • Keeps the existing core/v1 event recorder in the Helm controller (//nolint:staticcheck), now that controller-runtime deprecates GetEventRecorderFor.
  • Leaves controller-tools v0.18.0 and kubebuilder/v4 v4.6.0 unchanged, to keep the scaffolding changes out of this PR.

Validation

  • make test-unit
  • go vet ./...
  • GOTOOLCHAIN=go1.26.3 make lint (0 issues)
  • Built Operator SDK and validated the tls-compliance-operator v1.1.16 bundle with name=operatorhubv2, name=capabilities, name=categories, and suite=operatorframework. Each one returned no warnings or errors.

The GitHub Actions workflows (go, sanity, helm, deploy, integration, memcached-sample) still need maintainer approval before they can run.

Related PRs

Signed-off-by: Brandon Palm <bpalm@redhat.com>
Keep all k8s.io modules on the same minor version as the api,
apimachinery, and client-go dependencies raised by the API v0.43.0
update.

Signed-off-by: Brandon Palm <bpalm@redhat.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant