mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-10-30 20:39:07 +00:00
* Add v1alpha1 version of CRD SparkConnect Signed-off-by: Yi Chen <[email protected]> * Generate SparkConnect CRD manifests Signed-off-by: Yi Chen <[email protected]> * Implement SparkConnect controller Signed-off-by: Yi Chen <[email protected]> * Update Helm chart CRDs and RBAC resources Signed-off-by: Yi Chen <[email protected]> * Add SparkConnect example Signed-off-by: Yi Chen <[email protected]> * Add pre stop lifecycle handler Signed-off-by: Yi Chen <[email protected]> * Rename LabelSparkConnName to LabelSparkConnectName Signed-off-by: Yi Chen <[email protected]> * Rename SparkConnectStateUnready to SparkConnectStateNotReady Signed-off-by: Yi Chen <[email protected]> * Add constant SparkConfigMapVolumeMountName Signed-off-by: Yi Chen <[email protected]> * Use server pod status message as SparkConnect condition message Signed-off-by: Yi Chen <[email protected]> * Define SparkConnect condition reasons Signed-off-by: Yi Chen <[email protected]> * Add prefix to Hadoop properties if it does not start with 'spark.hadoop.' Signed-off-by: Yi Chen <[email protected]> --------- Signed-off-by: Yi Chen <[email protected]>
22 lines
726 B
Go
22 lines
726 B
Go
/*
|
|
Copyright 2025 The Kubeflow authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package v1alpha1
|
|
|
|
// SetSparkConnectDefaults sets default values for certain fields of a SparkConnect.
|
|
func SetSparkConnectDefaults(conn *SparkConnect) {
|
|
}
|