Skip to content

Commit f594099

Browse files
committed
test: enable COSI controller in example files
1 parent 51def9d commit f594099

12 files changed

+26
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
cni:
2828
provider: Calico
2929
strategy: ClusterResourceSet
30+
cosi: {}
3031
csi:
3132
defaultStorage:
3233
provider: local-path

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:
2525
clusterAutoscaler: {}
2626
cni:
2727
provider: Calico
28+
cosi: {}
2829
csi:
2930
defaultStorage:
3031
provider: local-path

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
cni:
2828
provider: Cilium
2929
strategy: ClusterResourceSet
30+
cosi: {}
3031
csi:
3132
defaultStorage:
3233
provider: local-path

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:
2525
clusterAutoscaler: {}
2626
cni:
2727
provider: Cilium
28+
cosi: {}
2829
csi:
2930
defaultStorage:
3031
provider: local-path

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
cni:
7474
provider: Calico
7575
strategy: ClusterResourceSet
76+
cosi: {}
7677
csi:
7778
defaultStorage:
7879
provider: nutanix

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ spec:
7171
clusterAutoscaler: {}
7272
cni:
7373
provider: Calico
74+
cosi: {}
7475
csi:
7576
defaultStorage:
7677
provider: nutanix

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
cni:
7474
provider: Cilium
7575
strategy: ClusterResourceSet
76+
cosi: {}
7677
csi:
7778
defaultStorage:
7879
provider: nutanix

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ spec:
7171
clusterAutoscaler: {}
7272
cni:
7373
provider: Cilium
74+
cosi: {}
7475
csi:
7576
defaultStorage:
7677
provider: nutanix

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ patches:
3838
- target:
3939
kind: Cluster
4040
path: ../../../patches/docker/csi.yaml
41+
- target:
42+
kind: Cluster
43+
path: ../../../patches/nutanix/cosi.yaml
4144
- target:
4245
kind: Cluster
4346
path: ../../../patches/encryption.yaml

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ patches:
3030
- target:
3131
kind: Cluster
3232
path: ../../../patches/nutanix/csi.yaml
33+
- target:
34+
kind: Cluster
35+
path: ../../../patches/nutanix/cosi.yaml
3336
- target:
3437
kind: Cluster
3538
path: ../../../patches/nutanix/ccm.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/cosi"
6+
value: {}
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/cosi"
6+
value: {}

0 commit comments

Comments
 (0)