mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-10-30 20:39:07 +00:00
The kustomization.yaml had a duplicate entry for webhook_in_sparkapplications.yaml which appears to be a copy-paste error from the controller-runtime refactor. This commit: - Fixes the duplicate webhook patch entry in config/crd/kustomization.yaml - Adds webhook_in_scheduledsparkapplications.yaml for conversion webhook support - Adds cainjection_in_scheduledsparkapplications.yaml for cert-manager CA injection Both CRDs (SparkApplication and ScheduledSparkApplication) now have corresponding webhook and CA injection patch files, matching the intended kustomize configuration. Signed-off-by: roburishabh <[email protected]>
8 lines
304 B
YAML
8 lines
304 B
YAML
# The following patch adds a directive for certmanager to inject CA into the CRD
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
cert-manager.io/inject-ca-from: CERTIFICATE_NAMESPACE/CERTIFICATE_NAME
|
|
name: scheduledsparkapplications.sparkoperator.k8s.io
|