16 lines
592 B
YAML
16 lines
592 B
YAML
# This patch add annotation to admission webhook config and
|
|
# the variables $(NAMESPACE) and $(CERTIFICATENAME) will be substituted by kustomize.
|
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
name: mutating-webhook-configuration
|
|
annotations:
|
|
certmanager.k8s.io/inject-ca-from: $(NAMESPACE)/$(CERTIFICATENAME)
|
|
---
|
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: ValidatingWebhookConfiguration
|
|
metadata:
|
|
name: validating-webhook-configuration
|
|
annotations:
|
|
certmanager.k8s.io/inject-ca-from: $(NAMESPACE)/$(CERTIFICATENAME)
|