github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/default/webhookcainjection_patch.yaml (about) 1 # This patch add annotation to admission webhook config and 2 # the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize. 3 apiVersion: admissionregistration.k8s.io/v1beta1 4 kind: MutatingWebhookConfiguration 5 metadata: 6 name: mutating-webhook-configuration 7 annotations: 8 certmanager.k8s.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME) 9 --- 10 apiVersion: admissionregistration.k8s.io/v1beta1 11 kind: ValidatingWebhookConfiguration 12 metadata: 13 name: validating-webhook-configuration 14 annotations: 15 certmanager.k8s.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)