diff --git a/docs/clusterctl.yaml b/clusterctl.yaml similarity index 100% rename from docs/clusterctl.yaml rename to clusterctl.yaml diff --git a/templates/aws/cluster-template.yaml b/templates/aws/cluster-template.yaml index 307351ee..57165e52 100644 --- a/templates/aws/cluster-template.yaml +++ b/templates/aws/cluster-template.yaml @@ -55,6 +55,8 @@ metadata: spec: template: spec: + ami: + id: ${AWS_AMI_ID:=ami-0ad50e72a79228704} iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io instanceType: ${AWS_CONTROL_PLANE_INSTANCE_TYPE:=t3.large} publicIP: ${AWS_PUBLIC_IP:=false} @@ -91,6 +93,8 @@ metadata: spec: template: spec: + ami: + id: ${AWS_AMI_ID:=ami-0ad50e72a79228704} iamInstanceProfile: nodes.cluster-api-provider-aws.sigs.k8s.io instanceType: ${AWS_NODE_INSTANCE_TYPE:=t3.large} publicIP: ${AWS_PUBLIC_IP:=false} diff --git a/templates/aws/template-variables.rc b/templates/aws/template-variables.rc new file mode 100644 index 00000000..0288c057 --- /dev/null +++ b/templates/aws/template-variables.rc @@ -0,0 +1,14 @@ +# Kubernetes cluster configuration +export KUBERNETES_VERSION=v1.30.0 +export CONTROL_PLANE_MACHINE_COUNT=1 +export WORKER_MACHINE_COUNT=1 + +# AWS region +export AWS_REGION="eu-central-1" + +# AWS machine configuration +export AWS_CREATE_BASTION=true +export AWS_PUBLIC_IP=false +export AWS_CONTROL_PLANE_MACHINE_FLAVOR=t3.large +export AWS_NODE_MACHINE_FLAVOR=t3.large +export AWS_SSH_KEY_NAME=default