Repository navigation
Commit 99d746c
committed
[SPARK-59939] Deprecate
### What changes were proposed in this pull request?
This PR marks the `v1beta1` version of the `SparkApplication` and `SparkCluster` CRDs as deprecated by adding `deprecated: true` to the Helm chart CRDs, and adds an item to `docs/migration_guide.md`. `v1beta1` stays served, and `v1` stays the storage version.
### Why are the changes needed?
`v1` is available since [0.5.0](https://github.com/apache/spark-kubernetes-operator/releases/tag/0.5.0) (2025-09-27), but the `v1beta1` schema in the chart is a static snapshot which is no longer updated, e.g. it lacks `spec.suspend`. To remove `v1beta1` in 2.0.0, users need a deprecation period first.
### Does this PR introduce _any_ user-facing change?
Yes, compared to the released 1.0.0. `kubectl` prints a deprecation warning for `apiVersion: spark.apache.org/v1beta1`. Existing resources keep working.
### How was this patch tested?
Passed `helm lint --strict` and `gradle :spark-operator-api:assertGeneratedCRDMatchesHelmChart`.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Sonnet 5.5
Closes #924 from dongjoon-hyun/SPARK-59939.
Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>v1beta1 version of SparkApp and SparkCluster CRDs1 parent acd3ecd commit 99d746c
3 files changed
Lines changed: 4 additions & 0 deletions
File tree
- build-tools/helm/spark-kubernetes-operator/crds
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments