Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 3113cf6

Browse files
committed
Fix remaining certmanager kustomize resources
1 parent 1a989af commit 3113cf6

File tree

2 files changed

+34
-8
lines changed

2 files changed

+34
-8
lines changed
Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
# This configuration is for teaching kustomize how to update name ref and var substitution
22
nameReference:
33
- kind: Issuer
4-
group: cert-manager.io
4+
group: certmanager.k8s.io
55
fieldSpecs:
66
- kind: Certificate
7-
group: cert-manager.io
7+
group: certmanager.k8s.io
88
path: spec/issuerRef/name
9+
- kind: Service
10+
version: v1
11+
fieldSpecs:
12+
- kind: ValidatingWebhookConfiguration
13+
group: admissionregistration.k8s.io
14+
path: webhooks/clientConfig/service/name
15+
16+
namespace:
17+
- kind: ValidatingWebhookConfiguration
18+
group: admissionregistration.k8s.io
19+
path: webhooks/clientConfig/service/namespace
20+
create: true
921

1022
varReference:
1123
- kind: Certificate
12-
group: cert-manager.io
24+
group: certmanager.k8s.io
1325
path: spec/commonName
1426
- kind: Certificate
15-
group: cert-manager.io
27+
group: certmanager.k8s.io
1628
path: spec/dnsNames
29+
- path: metadata/annotations
Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
# This configuration is for teaching kustomize how to update name ref and var substitution
22
nameReference:
33
- kind: Issuer
4-
group: cert-manager.io
4+
group: certmanager.k8s.io
55
fieldSpecs:
66
- kind: Certificate
7-
group: cert-manager.io
7+
group: certmanager.k8s.io
88
path: spec/issuerRef/name
9+
- kind: Service
10+
version: v1
11+
fieldSpecs:
12+
- kind: ValidatingWebhookConfiguration
13+
group: admissionregistration.k8s.io
14+
path: webhooks/clientConfig/service/name
15+
16+
namespace:
17+
- kind: ValidatingWebhookConfiguration
18+
group: admissionregistration.k8s.io
19+
path: webhooks/clientConfig/service/namespace
20+
create: true
921

1022
varReference:
1123
- kind: Certificate
12-
group: cert-manager.io
24+
group: certmanager.k8s.io
1325
path: spec/commonName
1426
- kind: Certificate
15-
group: cert-manager.io
27+
group: certmanager.k8s.io
1628
path: spec/dnsNames
29+
- path: metadata/annotations

0 commit comments

Comments
 (0)