-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkustomization.yaml
29 lines (27 loc) · 982 Bytes
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- solvers
- issuers/issuers.yaml
generatorOptions:
disableNameSuffixHash: true
# Needed if you have an internal authoritive zone with the same name as external one. CRD Patch prunes the Instance label in case CICD pipelines complain about duplicate instances
patches:
- patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --dns01-recursive-nameservers-only
- op: add
path: /spec/template/spec/containers/0/args/-
value: --dns01-recursive-nameservers=8.8.8.8:53,1.1.1.1:53
target:
group: apps
version: v1
kind: Deployment
name: cert-manager
- target:
kind: CustomResourceDefinition
patch: |-
- op: remove
path: /metadata/labels/app.kubernetes.io~1instance