mirror of
https://github.com/hanzo-ml/spark-operator.git
synced 2026-10-30 20:39:07 +00:00
35 lines
777 B
YAML
35 lines
777 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- serviceaccount.yaml
|
|
- clusterrole.yaml
|
|
- clusterrolebinding.yaml
|
|
- role.yaml
|
|
- rolebinding.yaml
|
|
- service.yaml
|
|
- deployment.yaml
|
|
- manifests.yaml
|
|
|
|
patches:
|
|
- path: webhook-objectselector-patch.yaml
|
|
- path: webhook-validating-selector-patch.yaml
|
|
|
|
configurations:
|
|
- kustomizeconfig.yaml
|
|
|
|
replacements:
|
|
- source:
|
|
kind: Service
|
|
name: spark-operator-webhook-svc
|
|
fieldPath: metadata.name
|
|
targets:
|
|
- select:
|
|
kind: MutatingWebhookConfiguration
|
|
fieldPaths:
|
|
- webhooks.*.clientConfig.service.name
|
|
- select:
|
|
kind: ValidatingWebhookConfiguration
|
|
fieldPaths:
|
|
- webhooks.*.clientConfig.service.name
|