diff --git a/pkg/providers/nutanix/testdata/datacenterConfig_with_failure_domains_invalid_wg.yaml b/pkg/providers/nutanix/testdata/datacenterConfig_with_failure_domains_invalid_wg.yaml new file mode 100644 index 000000000000..89bb2147cf42 --- /dev/null +++ b/pkg/providers/nutanix/testdata/datacenterConfig_with_failure_domains_invalid_wg.yaml @@ -0,0 +1,31 @@ +apiVersion: anywhere.eks.amazonaws.com/v1alpha1 +kind: NutanixDatacenterConfig +metadata: + name: eksa-unit-test + namespace: default +spec: + endpoint: "prism.nutanix.com" + port: 9440 + credentialRef: + kind: Secret + name: "nutanix-credentials" + insecure: true + failureDomains: + - name: "pe1" + cluster: + type: name + name: "prism-cluster" + subnets: + - type: uuid + uuid: "2d166190-7759-4dc6-b835-923262d6b497" + workerMachineGroups: + - eksa-unit-test-1 + - name: "pe2" + cluster: + type: uuid + uuid: "4d69ca7d-022f-49d1-a454-74535993bda4" + subnets: + - type: name + name: "prism-subnet" + workerMachineGroups: + - eksa-unit-test-1