@@ -16,26 +16,26 @@ function setup {
16
16
17
17
# # Cluster-wide vars
18
18
export CLUSTER_NAME=${NAME_PREFIX}
19
- export PROJECT =talos-testbed
20
- export REGION =us-central1
21
- export NETWORK =default
19
+ export GCP_PROJECT =talos-testbed
20
+ export GCP_REGION =us-central1
21
+ export GCP_NETWORK =default
22
22
23
23
# # Control plane vars
24
- export CP_COUNT =3
25
- export CP_INSTANCE_TYPE =n1-standard-4
26
- export CP_VOL_SIZE =50
27
- export CP_IMAGE_ID =projects/${PROJECT } /global/images/talos-e2e-${SHA}
24
+ export CONTROL_PLANE_MACHINE_COUNT =3
25
+ export GCP_CONTROL_PLANE_MACHINE_TYPE =n1-standard-4
26
+ export GCP_CONTROL_PLANE_VOL_SIZE =50
27
+ export GCP_CONTROL_PLANE_IMAGE_ID =projects/${GCP_PROJECT } /global/images/talos-e2e-${SHA}
28
28
29
29
# # Worker vars
30
- export WORKER_COUNT =3
31
- export WORKER_INSTANCE_TYPE =n1-standard-4
32
- export WORKER_VOL_SIZE =50
33
- export WORKER_IMAGE_ID =projects/${PROJECT } /global/images/talos-e2e-${SHA}
30
+ export WORKER_MACHINE_COUNT =3
31
+ export GCP_NODE_MACHINE_TYPE =n1-standard-4
32
+ export GCP_NODE_VOL_SIZE =50
33
+ export GCP_NODE_IMAGE_ID =projects/${GCP_PROJECT } /global/images/talos-e2e-${SHA}
34
34
35
35
# # TODO: update to talos-systems once merged
36
36
${CLUSTERCTL} config cluster ${NAME_PREFIX} \
37
37
--kubeconfig /tmp/e2e/docker/kubeconfig \
38
- --from https://github.com/rsmitty /cluster-api-templates/blob/main/gcp/standard/standard.yaml > ${TMP} /cluster.yaml
38
+ --from https://github.com/talos-systems /cluster-api-templates/blob/main/gcp/standard/standard.yaml > ${TMP} /cluster.yaml
39
39
40
40
}
41
41
0 commit comments