@@ -9,100 +9,9 @@ resources:
99 - ../../base/crd
1010 - ../../base/manager
1111 - ../../base/webhook
12- - ../../base/certmanager
1312components :
1413 - ../../components/leader_election
1514 - ../../components/controller_rbac
1615 - ../../components/resource-metrics
1716 - ../../components/high-availability
18-
19- patches :
20- - path : webhookcainjection_patch.yaml
21-
22- replacements :
23- # Fill in SERVICE_NAME / SERVICE_NAMESPACE placeholders in the Certificate's
24- # dnsNames so the cert is issued for the actual webhook Service location.
25- - source :
26- kind : Service
27- version : v1
28- name : compute-webhook
29- fieldPath : .metadata.name
30- targets :
31- - select :
32- kind : Certificate
33- group : cert-manager.io
34- version : v1
35- name : compute-serving-cert
36- fieldPaths :
37- - .spec.dnsNames.0
38- - .spec.dnsNames.1
39- options :
40- delimiter : ' .'
41- index : 0
42- create : true
43- - source :
44- kind : Service
45- version : v1
46- name : compute-webhook
47- fieldPath : .metadata.namespace
48- targets :
49- - select :
50- kind : Certificate
51- group : cert-manager.io
52- version : v1
53- name : compute-serving-cert
54- fieldPaths :
55- - .spec.dnsNames.0
56- - .spec.dnsNames.1
57- options :
58- delimiter : ' .'
59- index : 1
60- create : true
61- # Wire the Certificate namespace + name into the cert-manager.io/inject-ca-from
62- # annotation on the webhook configurations so cainjector populates caBundle.
63- - source :
64- kind : Certificate
65- group : cert-manager.io
66- version : v1
67- name : compute-serving-cert
68- fieldPath : .metadata.namespace
69- targets :
70- - select :
71- kind : ValidatingWebhookConfiguration
72- fieldPaths :
73- - .metadata.annotations.[cert-manager.io/inject-ca-from]
74- options :
75- delimiter : ' /'
76- index : 0
77- create : true
78- - select :
79- kind : MutatingWebhookConfiguration
80- fieldPaths :
81- - .metadata.annotations.[cert-manager.io/inject-ca-from]
82- options :
83- delimiter : ' /'
84- index : 0
85- create : true
86- - source :
87- kind : Certificate
88- group : cert-manager.io
89- version : v1
90- name : compute-serving-cert
91- fieldPath : .metadata.name
92- targets :
93- - select :
94- kind : ValidatingWebhookConfiguration
95- fieldPaths :
96- - .metadata.annotations.[cert-manager.io/inject-ca-from]
97- options :
98- delimiter : ' /'
99- index : 1
100- create : true
101- - select :
102- kind : MutatingWebhookConfiguration
103- fieldPaths :
104- - .metadata.annotations.[cert-manager.io/inject-ca-from]
105- options :
106- delimiter : ' /'
107- index : 1
108- create : true
17+ - ../../components/csi-webhook-cert
0 commit comments