kubekey/config/crd/patches/webhook_in_clusters.yaml
2021-11-01 18:15:07 +08:00

17 lines
399 B
YAML

# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clusters.kubekey.kubesphere.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1