From c515b67441859a08e26f6a45f04269668d3938aa Mon Sep 17 00:00:00 2001 From: Ilya Alekseyev Date: Thu, 10 Oct 2024 13:43:34 +0000 Subject: [PATCH] Add missed test manifest --- ...onfig_with_failure_domains_invalid_wg.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkg/providers/nutanix/testdata/datacenterConfig_with_failure_domains_invalid_wg.yaml 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