Skip to content

Commit 82f5be8

Browse files
fix(examples): remove legacy FDs from nutanix clusterclass
These were causing failures when creating clusters with new failure domains as only one of the two can be specified.
1 parent 2e2ba44 commit 82f5be8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

charts/cluster-api-runtime-extensions-nutanix/defaultclusterclasses/nutanix-cluster-class.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ spec:
285285
controlPlaneEndpoint:
286286
host: PLACEHOLDER
287287
port: 6443
288-
failureDomains: []
289288
prismCentral:
290289
address: PLACEHOLDER
291290
credentialRef:

hack/examples/bases/nutanix/clusterclass/kustomization.yaml.tmpl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,10 @@ ${KUBE_VIP_CONTENT}
9999
name: PLACEHOLDER
100100
kind: Secret
101101
namespace: default
102+
103+
# Remove empty failureDomains array from NutanixClusterTemplate
104+
- target:
105+
kind: NutanixClusterTemplate
106+
patch: |-
107+
- op: "remove"
108+
path: "/spec/template/spec/failureDomains"

0 commit comments

Comments
 (0)