apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../base/crds
- ../platform-agnostic-multi-user
- ../../../base/webhook
- ../base-webhook-certs/

# !!! If you want to customize the namespace,
# please also update base/cache-deployer/cluster-scoped/cache-deployer-clusterrolebinding.yaml
namespace: kubeflow

patches:
- path: patches/deployment.yaml
  target:
    kind: Deployment
    name: ml-pipeline
- path: patches/service.yaml
  target:
    kind: Service
    name: ml-pipeline
- path: patches/validating-webhook.yaml
  target:
    kind: ValidatingWebhookConfiguration
    name: pipelineversions.pipelines.kubeflow.org
- path: patches/mutating-webhook.yaml
  target:
    kind: MutatingWebhookConfiguration
    name: pipelineversions.pipelines.kubeflow.org
