sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/infrastructure-aws/kustomize_sources/topology/cluster-template.yaml (about) 1 --- 2 apiVersion: cluster.x-k8s.io/v1beta1 3 kind: Cluster 4 metadata: 5 labels: 6 cni: ${CLUSTER_NAME}-crs-0 7 name: "${CLUSTER_NAME}" 8 spec: 9 clusterNetwork: 10 pods: 11 cidrBlocks: ["192.168.0.0/16"] 12 topology: 13 class: "quick-start" 14 version: "${KUBERNETES_VERSION}" 15 controlPlane: 16 replicas: "${CONTROL_PLANE_MACHINE_COUNT}" 17 workers: 18 machineDeployments: 19 - class: "default-worker" 20 name: "md-0" 21 replicas: "${WORKER_MACHINE_COUNT}" 22 variables: 23 - name: region 24 value: "${AWS_REGION}" 25 - name: sshKeyName 26 value: "${AWS_SSH_KEY_NAME}" 27 - name: controlPlaneMachineType 28 value: "${AWS_CONTROL_PLANE_MACHINE_TYPE}" 29 - name: workerMachineType 30 value: "${AWS_NODE_MACHINE_TYPE}" 31 - name: secureSecretsBackend 32 value: "ssm-parameter-store" 33 - name: healthCheckProtocol 34 value: "TCP" 35 --- 36 apiVersion: v1 37 data: ${CNI_RESOURCES} 38 kind: ConfigMap 39 metadata: 40 name: cni-${CLUSTER_NAME}-crs-0 41 --- 42 apiVersion: addons.cluster.x-k8s.io/v1beta1 43 kind: ClusterResourceSet 44 metadata: 45 name: ${CLUSTER_NAME}-crs-0 46 spec: 47 clusterSelector: 48 matchLabels: 49 cni: ${CLUSTER_NAME}-crs-0 50 resources: 51 - kind: ConfigMap 52 name: cni-${CLUSTER_NAME}-crs-0 53 strategy: ApplyOnce