seaweedfs-operator/config/crd/patches/cainjection_in_seaweeds.yaml

9 lines
343 B
YAML
Raw Normal View History

# 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/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
2020-08-02 06:27:46 +00:00
name: seaweeds.seaweed.seaweedfs.com