Skip to content

Commit 5f294b7

Browse files
authored
Merge pull request #330 from cybozu-go/fix-config/cke-manifests
Fix manifests under config/cke
2 parents f96d651 + cbeb9d7 commit 5f294b7

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

v2/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
302302
enable-certs-rotation:

v2/config/cke/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

89
patchesStrategicMerge:
Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
apiVersion: admissionregistration.k8s.io/v1
22
kind: MutatingWebhookConfiguration
33
metadata:
4-
name: coilv2-mutating-webhook-configuration
4+
name: mutating-ipam-webhook-configuration
55
annotations:
66
cke.cybozu.com/inject-cacert: "true"
77
---
88
apiVersion: admissionregistration.k8s.io/v1
99
kind: ValidatingWebhookConfiguration
1010
metadata:
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
---

v2/e2e/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
137137
enable-certs-rotation:

0 commit comments

Comments
 (0)