File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
test/e2e/data/infrastructure-gcp Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
3
3
kind : Cluster
4
4
metadata :
5
5
name : " ${CLUSTER_NAME}"
6
+ labels :
7
+ cni : " ${CLUSTER_NAME}-crs-cni"
6
8
spec :
7
9
clusterNetwork :
8
10
pods :
@@ -243,3 +245,22 @@ spec:
243
245
- export COREOS_GCE_HOSTNAME=$${COREOS_GCE_HOSTNAME%%.*}
244
246
- envsubst < /etc/kubeadm.yml > /etc/kubeadm.yml.tmp
245
247
- mv /etc/kubeadm.yml.tmp /etc/kubeadm.yml
248
+ ---
249
+ apiVersion : v1
250
+ kind : ConfigMap
251
+ metadata :
252
+ name : " ${CLUSTER_NAME}-crs-cni"
253
+ data : ${CNI_RESOURCES}
254
+ ---
255
+ apiVersion : addons.cluster.x-k8s.io/v1beta1
256
+ kind : ClusterResourceSet
257
+ metadata :
258
+ name : " ${CLUSTER_NAME}-crs-cni"
259
+ spec :
260
+ strategy : ApplyOnce
261
+ clusterSelector :
262
+ matchLabels :
263
+ cni : " ${CLUSTER_NAME}-crs-cni"
264
+ resources :
265
+ - name : " ${CLUSTER_NAME}-crs-cni"
266
+ kind : ConfigMap
You can’t perform that action at this time.
0 commit comments