Skip to content

upjet bump: remove deprecated OverrideFields from resource configurations - #1931

Merged
erhancagirici merged 4 commits into
crossplane-contrib:mainfrom
erhancagirici:bump-upjet-1e4f37b
Dec 1, 2025
Merged

upjet bump: remove deprecated OverrideFields from resource configurations#1931
erhancagirici merged 4 commits into
crossplane-contrib:mainfrom
erhancagirici:bump-upjet-1e4f37b

Conversation

@erhancagirici

@erhancagirici erhancagirici commented Nov 30, 2025

Copy link
Copy Markdown
Collaborator

Description of your changes

Bump Upjet to crossplane/upjet@1e4f37b
This consumes upjet v2.2.0 and crossplane/upjet#555 to fix the encountered issue at #1918

  • Remove deprecated OverrideFields usages from resource configurations. Per deprecation notice, this is already handled automatically by the PreviousVersions configuration.
  • Replace deprecated config.MarkAsRequired() usages with Resource.MarkAsRequired() in resource configurations, per deprecation notice.
    Linter job was complaining about these deprecated field usages at Add Support for Scraper resource in amp provider #1918.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make generate and committed the results (ideally in a separate commit).
  • Not made any manual changes to generated files, and verified this with make check-diff.

How has this code been tested

Signed-off-by: Erhan Cagirici <erhan@upbound.io>
Signed-off-by: Erhan Cagirici <erhan@upbound.io>
Signed-off-by: Erhan Cagirici <erhan@upbound.io>
@erhancagirici

Copy link
Copy Markdown
Collaborator Author

/test-examples="examples/cloudwatchlogs/cluster/v1beta1/group.yaml"

@erhancagirici

Copy link
Copy Markdown
Collaborator Author

/test-examples="examples/iam/cluster/v1beta1/policy.yaml"

@erhancagirici

Copy link
Copy Markdown
Collaborator Author

/test-examples="examples/kafka/cluster/v1beta2/serverlesscluster.yaml"

@erhancagirici

Copy link
Copy Markdown
Collaborator Author

/test-examples="examples/rds/cluster/v1beta2/cluster.yaml"

Signed-off-by: Erhan Cagirici <erhan@upbound.io>

@sergenyalcin sergenyalcin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @erhancagirici LGTM!

@erhancagirici
erhancagirici merged commit f2e2a70 into crossplane-contrib:main Dec 1, 2025
9 checks passed
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.

2 participants