1
0
Fork 0
distrust-stack/kustomizations/cert-manager/kustomization.yaml

25 lines
741 B
YAML
Raw Normal View History

2023-05-12 02:12:58 +00:00
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cert-manager
resources:
2023-05-13 05:03:53 +00:00
- https://github.com/james-callahan/cert-manager-kustomize?ref=b9560b4603bffac901c99d7d9d16e5e2a07e44d8
2023-05-12 02:12:58 +00:00
- 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: /