sigs.k8s.io/cluster-api/bootstrap/kubeadm@v0.0.0-20191016155141-23a891785b60/config-capi/crd/patches/webhook_in_machinedeployments.yaml (about) 1 # The following patch enables conversion webhook for CRD 2 # CRD conversion requires k8s 1.13 or later. 3 apiVersion: apiextensions.k8s.io/v1beta1 4 kind: CustomResourceDefinition 5 metadata: 6 name: machinedeployments.cluster.x-k8s.io 7 spec: 8 conversion: 9 strategy: Webhook 10 webhookClientConfig: 11 # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank, 12 # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager) 13 caBundle: Cg== 14 service: 15 namespace: system 16 name: webhook-service 17 path: /convert