Skip to content

Conversation

@Sbaia
Copy link

@Sbaia Sbaia commented Nov 24, 2025

What changes were proposed in this pull request?

This pull request updates the schema definitions in build-tools/helm/spark-kubernetes-operator/values.schema.json to improve compatibility with Kubernetes conventions. The main change is updating the types for volumeMounts and volumes from object to array, which better reflects how these fields are typically structured in Kubernetes manifests.

  • Changed the type of volumeMounts from object to array to match standard Kubernetes configuration for container volume mounts.
  • Changed the type of volumes from object to array to align with Kubernetes pod volume definitions.

Why are the changes needed?

bug, cannot use volumes fields, the helm chart fall in error or for values.json validation, or in yaml rendering

Does this PR introduce any user-facing change?

No

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the BUILD label Nov 24, 2025
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Thank you for making a PR, @Sbaia .

To @jiangzho , this seems to be related to SPARK-53640 (Operator Helm Chart: suppot additionalContainers, volumes, volumeMounts as array) which you reported before.

Could you review this? I'm wondering if this PR resolves one of your issues.

@jiangzho
Copy link
Contributor

jiangzho commented Dec 6, 2025

Sorry for the delay - yes, this would act as a partial of SPARK-53640 . @Sbaia - could you please fix the PRBs?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants