Skip to content

Reapply "fix: make application templates namespaced (#694)" (#719)#720

Merged
razvan merged 2 commits into
mainfrom
revert/inception
Jul 10, 2026
Merged

Reapply "fix: make application templates namespaced (#694)" (#719)#720
razvan merged 2 commits into
mainfrom
revert/inception

Conversation

@razvan

@razvan razvan commented Jul 10, 2026

Copy link
Copy Markdown
Member

Description

see title

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@razvan razvan self-assigned this Jul 10, 2026
@razvan razvan moved this to Development: Waiting for Review in Stackable Engineering Jul 10, 2026

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's run with it. @lfrancke indicated it was fine.

I do think we need some instructions for spark-k8s-operator users.

Release Note

Caution

In this release, SparkApplicationTemplate becomes namespace scoped.
This is a breaking change and requires manual coordination.

For those not using the SparkApplicationTemplate

Before upgrading the spark-k8s-operator, scale it down to 0, then delete the Cluster Scoped CRD for SparkApplicationTemplate.

Perform the spark-k8s-operator upgrade per release-notes.

When the operator comes up, it will create a namespace scoped SparkApplicationTemplate.

For those that do use the SparkApplicationTemplate

The SparkApplicationTemplate needs to be deleted, and it will be automatically created.

You will need to reapply your SparkApplicationTemplate after setting metadata.namespace on each. Have these ready to deploy before doing the operator upgrade.

Follow the instructions above, and then apply your namespaced SparkApplicationTemplates once the operator comes up.

I'm unsure if anything needs to be done with existing SparkApplications or jobs created by the template.

@NickLarsenNZ NickLarsenNZ added release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. scheduled-for/26.7.0 labels Jul 10, 2026
@NickLarsenNZ NickLarsenNZ moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Jul 10, 2026
@razvan razvan added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 5b31a9e Jul 10, 2026
18 checks passed
@razvan razvan deleted the revert/inception branch July 10, 2026 12:33
@Techassi Techassi moved this from Development: In Review to Development: Done in Stackable Engineering Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. scheduled-for/26.7.0

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

3 participants