Skip to content

Commit

Permalink
remove webhook from inferenceservice crd
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant Mahabaleshwarkar <vmahabal@redhat.com>
  • Loading branch information
VedantMahabaleshwarkar authored and israel-hdez committed Nov 14, 2023
1 parent 498bb68 commit 7b7ae32
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ replacements:
name: kserve-webhook-server-service
fieldPath: metadata.name
targets:
- select:
kind: CustomResourceDefinition
name: inferenceservices.serving.kserve.io
fieldPaths:
- spec.conversion.webhook.clientConfig.service.name
# - select:
# kind: CustomResourceDefinition
# name: inferenceservices.serving.kserve.io
# fieldPaths:
# - spec.conversion.webhook.clientConfig.service.name
- select:
kind: MutatingWebhookConfiguration
name: inferenceservice.serving.kserve.io
Expand Down Expand Up @@ -84,11 +84,11 @@ replacements:
version: v1
fieldPath: metadata.namespace
targets:
- select:
kind: CustomResourceDefinition
name: inferenceservices.serving.kserve.io
fieldPaths:
- spec.conversion.webhook.clientConfig.service.namespace
# - select:
# kind: CustomResourceDefinition
# name: inferenceservices.serving.kserve.io
# fieldPaths:
# - spec.conversion.webhook.clientConfig.service.namespace
- select:
kind: MutatingWebhookConfiguration
name: inferenceservice.serving.kserve.io
Expand Down Expand Up @@ -206,16 +206,16 @@ patches:
- path: servingruntime_validationwebhook_cainjection_patch.yaml
- path: svc_webhook_cainjection_patch.yaml
- path: manager_resources_patch.yaml
- path: inferenceservice_conversion_webhook.yaml
#- path: inferenceservice_conversion_webhook.yaml
- path: cainjection_conversion_webhook.yaml
# Since OpenShift serving-certificates are being used,
# remove CA bundle placeholders
- patch: |-
- op: remove
path: "/spec/conversion/webhook/clientConfig/caBundle"
target:
kind: CustomResourceDefinition
name: inferenceservices.serving.kserve.io
# - patch: |-
# - op: remove
# path: "/spec/conversion/webhook/clientConfig/caBundle"
# target:
# kind: CustomResourceDefinition
# name: inferenceservices.serving.kserve.io
- patch: |-
- op: remove
path: "/webhooks/0/clientConfig/caBundle"
Expand Down

0 comments on commit 7b7ae32

Please sign in to comment.