forked from public/stack
25 lines
741 B
YAML
25 lines
741 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: cert-manager
|
|
resources:
|
|
- https://github.com/james-callahan/cert-manager-kustomize?ref=b9560b4603bffac901c99d7d9d16e5e2a07e44d8
|
|
- 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: /
|