Files
treasuremap/manifests/function/synclabeller/upstream/crd/patches/webhook_in_metal3labelsyncs.yaml
digambar 0e25e9bfb2 Add SyncLabelller functions to target/workload phase
Change-Id: I059c6262999df273cceb7c7652b74f3f524b60ba
2021-04-14 15:11:33 +00:00

18 lines
635 B
YAML

# The following patch enables conversion webhook for CRD
# CRD conversion requires k8s 1.13 or later.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: metal3labelsyncs.airship.airshipit.org
spec:
conversion:
strategy: Webhook
webhookClientConfig:
# 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