Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 130d4ec

Browse files
committed
build: add CCM addon var to Nutanix examples
1 parent 961ea9d commit 130d4ec

File tree

6 files changed

+23
-0
lines changed

6 files changed

+23
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- name: clusterConfig
5353
value:
5454
addons:
55+
ccm:
56+
credentials:
57+
name: ${CLUSTER_NAME}-pc-creds
5558
clusterAutoscaler:
5659
strategy: ClusterResourceSet
5760
cni:

examples/capi-quick-start/nutanix-cluster-calico-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- name: clusterConfig
5353
value:
5454
addons:
55+
ccm:
56+
credentials:
57+
name: ${CLUSTER_NAME}-pc-creds
5558
clusterAutoscaler:
5659
strategy: HelmAddon
5760
cni:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- name: clusterConfig
5353
value:
5454
addons:
55+
ccm:
56+
credentials:
57+
name: ${CLUSTER_NAME}-pc-creds
5558
clusterAutoscaler:
5659
strategy: ClusterResourceSet
5760
cni:

examples/capi-quick-start/nutanix-cluster-cilium-helm-addon.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- name: clusterConfig
5353
value:
5454
addons:
55+
ccm:
56+
credentials:
57+
name: ${CLUSTER_NAME}-pc-creds
5558
clusterAutoscaler:
5659
strategy: HelmAddon
5760
cni:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ patches:
2929
- target:
3030
kind: Cluster
3131
path: ../../../patches/nutanix/csi.yaml
32+
- target:
33+
kind: Cluster
34+
path: ../../../patches/nutanix/ccm.yaml
3235
- target:
3336
kind: Cluster
3437
path: ../../../patches/nutanix/initialize-variables.yaml
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright 2024 D2iQ, Inc. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
- op: "add"
5+
path: "/spec/topology/variables/0/value/addons/ccm"
6+
value:
7+
credentials:
8+
name: ${CLUSTER_NAME}-pc-creds

0 commit comments

Comments
 (0)