config/crd/patches/cainjection_in_teamcities.yaml (6 lines of code) (raw):
# The following patch adds a directive for certmanager to inject CA into the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: teamcity-operator-system/teamcity-operator-serving-cert
name: teamcities.jetbrains.com