4e63c1dda2
* Added v0.3.7 version of capi * Added v0.3.7 version of cacpk * Added v0.3.2 version of camp4 Change-Id: I7b574ef8277192be8e5162384287e9e9ec211a1e
20 lines
710 B
YAML
20 lines
710 B
YAML
# The following patch enables conversion webhook for CRD
|
|
# CRD conversion requires k8s 1.13 or later.
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: metal3clusters.infrastructure.cluster.x-k8s.io
|
|
spec:
|
|
conversion:
|
|
strategy: Webhook
|
|
webhook:
|
|
conversionReviewVersions: ["v1", "v1beta1"]
|
|
clientConfig:
|
|
# this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
|
|
# but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager)
|
|
caBundle: Cg==
|
|
service:
|
|
namespace: system
|
|
name: webhook-service
|
|
path: /convert
|