File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2023 D2iQ, Inc. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ apiVersion: kustomize.config.k8s.io/v1beta1
5
+ kind: Kustomization
6
+
7
+ resources:
8
+ # - ./cilium/crs
9
+ # - ./cilium/helm-addon
10
+ # - ./calico/crs
11
+ # - ./calico/helm-addon
12
+ - https://github.com/nutanix-cloud-native/cluster-api-provider-nutanix/releases/download/v1.4.0-alpha.1/cluster-template-clusterclass.yaml
13
+
14
+ namePrefix:
15
+
16
+ labels:
17
+ - includeSelectors: false
18
+ pairs:
19
+ cluster.x-k8s.io/provider: infrastructure-nutanix
20
+
21
+ patches:
22
+ - target:
23
+ group: cluster.x-k8s.io
24
+ kind: Cluster
25
+ patch: |-
26
+ - op: "remove"
27
+ path: "/metadata/namespace"
28
+ - op: "add"
29
+ path: "/spec/topology/class"
30
+ value: "${CLUSTER_CLASS_NAME}"
31
+ - target:
32
+ group: cluster.x-k8s.io
33
+ kind: ClusterClass
34
+ patch: |-
35
+ - op: "add"
36
+ path: "/spec/controlPlane/machineInfrastructure/ref/name"
37
+ value: "${CLUSTER_CLASS_NAME}-cp-nmt"
38
+ - op: "add"
39
+ path: "/spec/controlPlane/ref/name"
40
+ value: "${CLUSTER_CLASS_NAME}-kcpt"
41
+ - op: "add"
42
+ path: "/spec/infrastructure/ref/name"
43
+ value: "${CLUSTER_CLASS_NAME}-nct"
44
+ - op: "add"
45
+ path: "/spec/workers/machineDeployments/0/template/bootstrap/ref/name"
46
+ value: "${CLUSTER_CLASS_NAME}-kcfg-0"
47
+ - op: "add"
48
+ path: "/spec/workers/machineDeployments/0/template/infrastructure/ref/name"
49
+ value: "${CLUSTER_CLASS_NAME}-md-nmt"
50
+ - op: "remove"
51
+ path: "/spec/variables"
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ sortOptions:
10
10
resources:
11
11
- ./bases/docker
12
12
- ./bases/aws
13
+ - ./bases/nutanix
13
14
14
15
patches:
15
16
- target:
You can’t perform that action at this time.
0 commit comments