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