Skip to content

Commit

Permalink
Merge pull request opendatahub-io#120 from VedantMahabaleshwarkar/test
Browse files Browse the repository at this point in the history
remove webhookClientConfig from inferenceservice crd of kserve
  • Loading branch information
openshift-merge-bot[bot] authored Nov 9, 2023
2 parents 4378291 + de91172 commit 6bb6f80
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 6bb6f80

Please sign in to comment.