Skip to content

Commit

Permalink
Mark pod template field as schemaless
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 committed Sep 29, 2024
1 parent 2c39b1c commit bc8d1ba
Show file tree
Hide file tree
Showing 5 changed files with 16,866 additions and 77,988 deletions.
2 changes: 2 additions & 0 deletions api/v1beta2/sparkapplication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ type SparkPodSpec struct {
// Spark version >= 3.0.0 is required.
// Ref: https://spark.apache.org/docs/latest/running-on-kubernetes.html#pod-template.
// +optional
// +kubebuilder:validation:Schemaless
// +kubebuilder:validation:Type:=object
Template *corev1.PodTemplateSpec `json:"template,omitempty"`
// Cores maps to `spark.driver.cores` or `spark.executor.cores` for the driver and executors, respectively.
// +optional
Expand Down
Loading

0 comments on commit bc8d1ba

Please sign in to comment.