apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: cert-manager resources: - https://github.com/james-callahan/cert-manager-kustomize?ref=039fc866e432953a5ceda9bc26155513b535eea4 - cluster-issuer - namespace.yaml replacements: - source: kind: Deployment name: cert-manager-webhook fieldPath: metadata.namespace targets: - select: kind: MutatingWebhookConfiguration fieldPaths: - metadata.annotations.[cert-manager.io/inject-ca-from-secret] options: delimiter: / - select: kind: ValidatingWebhookConfiguration fieldPaths: - metadata.annotations.[cert-manager.io/inject-ca-from-secret] options: delimiter: /