Files
spark-operator/config/crd/patches/cainjection_in_sparkconnects.yaml
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

7 lines
290 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: sparkconnects.sparkoperator.k8s.io