airshipctl/manifests/function/capm3/v0.3.1/crd/patches/cainjection_in_metal3machines.yaml
Dmitry Ukov 5cf6528dee Add CAPI Metal3 prodvider
Version 0.3.1 has been used as a basis for this function

Closes: #161
Change-Id: I7c15fdff0a0cb2ba90295d0a403f737ee4398deb
2020-04-27 17:42:14 +04:00

9 lines
354 B
YAML

# The following patch adds a directive for certmanager to inject CA into the CRD
# CRD conversion requires k8s 1.13 or later.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: metal3machines.infrastructure.cluster.x-k8s.io