sigs.k8s.io/cluster-api-provider-aws@v1.5.5/test/e2e/data/eks/cluster-template-eks-control-plane-only-withaddon.yaml (about) 1 --- 2 apiVersion: cluster.x-k8s.io/v1beta1 3 kind: Cluster 4 metadata: 5 name: "${CLUSTER_NAME}" 6 spec: 7 clusterNetwork: 8 pods: 9 cidrBlocks: ["192.168.0.0/16"] 10 infrastructureRef: 11 kind: AWSManagedControlPlane 12 apiVersion: controlplane.cluster.x-k8s.io/v1beta1 13 name: "${CLUSTER_NAME}-control-plane" 14 controlPlaneRef: 15 kind: AWSManagedControlPlane 16 apiVersion: controlplane.cluster.x-k8s.io/v1beta1 17 name: "${CLUSTER_NAME}-control-plane" 18 --- 19 kind: AWSManagedControlPlane 20 apiVersion: controlplane.cluster.x-k8s.io/v1beta1 21 metadata: 22 name: "${CLUSTER_NAME}-control-plane" 23 spec: 24 region: "${AWS_REGION}" 25 sshKeyName: "${AWS_SSH_KEY_NAME}" 26 version: "${KUBERNETES_VERSION}" 27 addons: 28 - name: "vpc-cni" 29 version: "${VPC_ADDON_VERSION}" 30 conflictResolution: "overwrite" 31 - name: "coredns" 32 version: "${COREDNS_ADDON_VERSION}" 33 conflictResolution: "overwrite" 34 identityRef: 35 kind: AWSClusterStaticIdentity 36 name: e2e-account 37 # secondaryCidrBlock added to test it's creation and deletion functionality within the cluster. 38 secondaryCidrBlock: 100.64.0.0/16