Files
open-cluster-management/deploy/webhook/managedclustersets_conversion_webhook.crd.yaml
DangPeng Liu 883295b635 add conversion webhook to convert clusterset api (#272)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-10-11 04:02:29 +00:00

20 lines
528 B
YAML

# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: managedclustersets.cluster.open-cluster-management.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
namespace: open-cluster-management-hub
name: managedcluster-admission
path: /convert
port: 9443
caBundle: CA_PLACE_HOLDER
conversionReviewVersions:
- v1beta1
- v1beta2