Files
Rishabh SinghandGitHub 724a6d9afb fix(crd): Add missing SparkConnect CRD resource and patches to kustomization (#2890)
This commit:
- Adds bases/sparkoperator.k8s.io_sparkconnects.yaml to the resources list
- Creates webhook_in_sparkconnects.yaml for conversion webhook support
- Creates cainjection_in_sparkconnects.yaml for cert-manager CA injection
- Adds both patches to kustomization.yaml

Signed-off-by: roburishabh <[email protected]>
2026-03-31 18:44:05 +00:00

30 lines
1.3 KiB
YAML

# This kustomization.yaml is not intended to be run by itself,
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/sparkoperator.k8s.io_scheduledsparkapplications.yaml
- bases/sparkoperator.k8s.io_sparkapplications.yaml
- bases/sparkoperator.k8s.io_sparkconnects.yaml
# +kubebuilder:scaffold:crdkustomizeresource
patches:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
- path: patches/webhook_in_sparkapplications.yaml
- path: patches/webhook_in_scheduledsparkapplications.yaml
- path: patches/webhook_in_sparkconnects.yaml
# +kubebuilder:scaffold:crdkustomizewebhookpatch
# [CERTMANAGER] To enable cert-manager, uncomment all the sections with [CERTMANAGER] prefix.
# patches here are for enabling the CA injection for each CRD
#- path: patches/cainjection_in_scheduledsparkapplications.yaml
#- path: patches/cainjection_in_sparkapplications.yaml
#- path: patches/cainjection_in_sparkconnects.yaml
# +kubebuilder:scaffold:crdkustomizecainjectionpatch
# [WEBHOOK] To enable webhook, uncomment the following section
# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
- kustomizeconfig.yaml