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
33kind : Cluster
44metadata :
55 name : " ${CLUSTER_NAME}"
6+ labels :
7+ cni : " ${CLUSTER_NAME}-crs-cni"
68spec :
79 clusterNetwork :
810 pods :
@@ -243,3 +245,22 @@ spec:
243245 - export COREOS_GCE_HOSTNAME=$${COREOS_GCE_HOSTNAME%%.*}
244246 - envsubst < /etc/kubeadm.yml > /etc/kubeadm.yml.tmp
245247 - 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