Skip to content

Commit e15d3ed

Browse files
Update ccm_helpers and fix overlay templates for nutanix
1 parent 072c264 commit e15d3ed

File tree

9 files changed

+26
-3
lines changed

9 files changed

+26
-3
lines changed

examples/capi-quick-start/nutanix-cluster-calico-crs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
credentials:
6868
secretRef:
6969
name: ${CLUSTER_NAME}-pc-creds
70-
strategy: HelmAddon
70+
strategy: ClusterResourceSet
7171
clusterAutoscaler:
7272
strategy: ClusterResourceSet
7373
cni:

examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
credentials:
6868
secretRef:
6969
name: ${CLUSTER_NAME}-pc-creds
70-
strategy: HelmAddon
70+
strategy: ClusterResourceSet
7171
clusterAutoscaler:
7272
strategy: ClusterResourceSet
7373
cni:

hack/examples/overlays/clusters/nutanix/calico/crs/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ patches:
1717
- target:
1818
kind: Cluster
1919
path: ../../../../../patches/crs-strategy.yaml
20+
- target:
21+
kind: Cluster
22+
path: ../../../../../patches/nutanix/ccm-crs-strategy.yaml

hack/examples/overlays/clusters/nutanix/calico/helm-addon/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ patches:
1717
- target:
1818
kind: Cluster
1919
path: ../../../../../patches/helm-addon-strategy.yaml
20+
- target:
21+
kind: Cluster
22+
path: ../../../../../patches/nutanix/ccm-helm-addon-strategy.yaml

hack/examples/overlays/clusters/nutanix/cilium/crs/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ patches:
1717
- target:
1818
kind: Cluster
1919
path: ../../../../../patches/crs-strategy.yaml
20+
- target:
21+
kind: Cluster
22+
path: ../../../../../patches/nutanix/ccm-crs-strategy.yaml

hack/examples/overlays/clusters/nutanix/cilium/helm-addon/kustomization.yaml.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ patches:
1717
- target:
1818
kind: Cluster
1919
path: ../../../../../patches/helm-addon-strategy.yaml
20+
- target:
21+
kind: Cluster
22+
path: ../../../../../patches/nutanix/ccm-helm-addon-strategy.yaml
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright 2024 Nutanix. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
- op: "add"
5+
path: "/spec/topology/variables/0/value/addons/ccm/strategy"
6+
value: ClusterResourceSet
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright 2024 Nutanix. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
- op: "add"
5+
path: "/spec/topology/variables/0/value/addons/ccm/strategy"
6+
value: HelmAddon

hack/examples/patches/nutanix/ccm.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
- op: "add"
55
path: "/spec/topology/variables/0/value/addons/ccm"
66
value:
7-
strategy: HelmAddon
87
credentials:
98
secretRef:
109
name: ${CLUSTER_NAME}-pc-creds

0 commit comments

Comments
 (0)