Skip to content

Conversation

@scholzj
Copy link
Member

@scholzj scholzj commented Oct 11, 2025

Type of change

  • Task

Description

This PR deprecates the .spec.kafka.resources field in Kafka CR as approved in the Strimzi Proposal 121. The logic is kept intact and it still can be used. But it is removed in the v1 API.

I also went through the docs, but there were not many references to it, so there are not many changes.

This should resolve #11881.

Checklist

  • Update documentation
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md

@scholzj scholzj added this to the 0.49.0 milestone Oct 11, 2025
@scholzj scholzj requested a review from ppatierno October 11, 2025 10:34
@codecov
Copy link

codecov bot commented Oct 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.91%. Comparing base (cc1906d) to head (341128a).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12017      +/-   ##
============================================
- Coverage     74.92%   74.91%   -0.01%     
+ Complexity     6443     6442       -1     
============================================
  Files           343      343              
  Lines         24324    24324              
  Branches       3196     3196              
============================================
- Hits          18224    18223       -1     
  Misses         4828     4828              
- Partials       1272     1273       +1     
Files with missing lines Coverage Δ
...o/strimzi/operator/cluster/model/KafkaCluster.java 92.59% <ø> (ø)
...a/io/strimzi/operator/cluster/model/KafkaPool.java 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@scholzj
Copy link
Member Author

scholzj commented Oct 11, 2025

/azp run regression

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 77ce2ba into strimzi:main Oct 12, 2025
31 checks passed
@scholzj scholzj deleted the deprecated-resources-in-spec-kafka branch October 12, 2025 17:50
@scholzj scholzj added this to Roadmap Oct 12, 2025
@scholzj scholzj moved this to 0.49.0 (Work in Progress) in Roadmap Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 0.49.0 (Work in Progress)

Development

Successfully merging this pull request may close these issues.

[CRD-v1] Deprecate / remove the resources configuration in the .spec.kafka in Kafka CR?

2 participants