You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/examples/sync.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -108,4 +108,4 @@ sed -i'' 's/cloud-provider:\ aws/cloud-provider:\ external/g' "${EXAMPLE_CLUSTER
108
108
109
109
# TODO Remove once kustomize supports retaining quotes in what will be numeric values.
110
110
#shellcheck disable=SC2016
111
-
sed -i'''s/size\: ${WORKER_MACHINE_COUNT}/size\: "${WORKER_MACHINE_COUNT}"/'"${EXAMPLE_CLUSTERS_DIR}"/*.yaml
111
+
sed -i'''s/\( cluster.x-k8s.io\/cluster-api-autoscaler-node-group-\(min\|max\)-size\): \(${WORKER_MACHINE_COUNT}\)/\1: "\3"/'"${EXAMPLE_CLUSTERS_DIR}"/*.yaml
0 commit comments