File tree Expand file tree Collapse file tree 4 files changed +23
-8
lines changed Expand file tree Collapse file tree 4 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ define comment_certs
296296 $(eval $@ _FILE = $(1 ) )
297297 @sed -i -E "{s/(^patchesStrategicMerge.*)/# \1/}" ${$@_FILE}
298298 @sed -i -E "{s/(^-.*webhook_manifests_patch.*)/# \1/}" ${$@_FILE}
299- endef
299+ endef
300300
301301.PHONY : enable-certs-rotation
302302enable-certs-rotation :
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ resources:
22- ../crd
33- ../rbac
44- ../pod
5- - ../webhook
5+ - ../webhook/egress
6+ - ../webhook/ipam
67- ./webhook-secret.yaml
78
89patchesStrategicMerge :
Original file line number Diff line number Diff line change 11apiVersion : admissionregistration.k8s.io/v1
22kind : MutatingWebhookConfiguration
33metadata :
4- name : coilv2- mutating-webhook-configuration
4+ name : mutating-ipam -webhook-configuration
55 annotations :
66 cke.cybozu.com/inject-cacert : " true"
77---
88apiVersion : admissionregistration.k8s.io/v1
99kind : ValidatingWebhookConfiguration
1010metadata :
11- name : coilv2-validating-webhook-configuration
11+ name : validating-ipam-webhook-configuration
12+ annotations :
13+ cke.cybozu.com/inject-cacert : " true"
14+ ---
15+ apiVersion : admissionregistration.k8s.io/v1
16+ kind : MutatingWebhookConfiguration
17+ metadata :
18+ name : mutating-egress-webhook-configuration
19+ annotations :
20+ cke.cybozu.com/inject-cacert : " true"
21+ ---
22+ apiVersion : admissionregistration.k8s.io/v1
23+ kind : ValidatingWebhookConfiguration
24+ metadata :
25+ name : validating-egress-webhook-configuration
1226 annotations :
1327 cke.cybozu.com/inject-cacert : " true"
1428---
Original file line number Diff line number Diff line change @@ -14,20 +14,20 @@ ifeq ($(TEST_IPV6),true)
1414 ifeq ($(IPV6_PRIMARY),true)
1515 ifeq ($(WITH_KINDNET),true)
1616 KIND_CONFIG = kind-config_dualstack_v6_kindnet.yaml
17- else
17+ else
1818 KIND_CONFIG = kind-config_dualstack_v6.yaml
1919 endif
2020 else
2121 ifeq ($(WITH_KINDNET),true)
2222 KIND_CONFIG = kind-config_dualstack_kindnet.yaml
23- else
23+ else
2424 KIND_CONFIG = kind-config_dualstack.yaml
2525 endif
2626 endif
2727 else
2828 ifeq ($(WITH_KINDNET),true)
2929 KIND_CONFIG = kind-config_kindnet_v6.yaml
30- else
30+ else
3131 KIND_CONFIG = kind-config_v6.yaml
3232 endif
3333 endif
@@ -131,7 +131,7 @@ define comment_certs
131131 $(eval $@ _FILE = $(1 ) )
132132 @sed -i -E "{s/(^patchesStrategicMerge.*)/# \1/}" ${$@_FILE}
133133 @sed -i -E "{s/(^-.*webhook_manifests_patch.*)/# \1/}" ${$@_FILE}
134- endef
134+ endef
135135
136136.PHONY : enable-certs-rotation
137137enable-certs-rotation :
You can’t perform that action at this time.
0 commit comments