From 1fe2f51695e18d70e90425d5bc56e98da3fddd74 Mon Sep 17 00:00:00 2001 From: Sebastian Cole Date: Wed, 13 Oct 2021 20:33:57 +1100 Subject: [PATCH] Adding missing bdd template Signed-off-by: Sebastian Cole --- .../instance-group-latest-locked.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 test-bdd/templates/instance-group-latest-locked.yaml diff --git a/test-bdd/templates/instance-group-latest-locked.yaml b/test-bdd/templates/instance-group-latest-locked.yaml new file mode 100644 index 00000000..65ff0ed9 --- /dev/null +++ b/test-bdd/templates/instance-group-latest-locked.yaml @@ -0,0 +1,44 @@ +apiVersion: instancemgr.keikoproj.io/v1alpha1 +kind: InstanceGroup +metadata: + annotations: + instancemgr.keikoproj.io/lock-upgrades: "false" + labels: + controller-tools.k8s.io: "1.0" + name: bdd-test-latest-locked + namespace: instance-manager-bdd +spec: + provisioner: eks + strategy: + type: rollingUpdate + rollingUpdate: + maxUnavailable: 1 + eks: + maxSize: 4 + minSize: 2 + configuration: + labels: + test: bdd-test-latest-locked + taints: + - key: node-role.kubernetes.io/bdd-test + value: bdd-test + effect: NoSchedule + clusterName: {{ .ClusterName }} + subnets: {{range $element := .Subnets}} + - {{$element}} + {{ end }} + keyPairName: {{ .KeyPairName }} + image: latest + instanceType: t2.small + volumes: + - name: /dev/xvdb + type: gp2 + size: 30 + mountOptions: + fileSystem: xfs + mount: /data + securityGroups: {{range $element := .NodeSecurityGroups}} + - {{$element}} + {{ end }} + metricsCollection: + - all \ No newline at end of file