Skip to content

Commit

Permalink
test: enable COSI controller in example files
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Jan 7, 2025
1 parent 9826e25 commit e0bbda5
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/capi-quick-start/docker-cluster-calico-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
cni:
provider: Calico
strategy: ClusterResourceSet
cosi: {}
csi:
defaultStorage:
provider: local-path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
clusterAutoscaler: {}
cni:
provider: Calico
cosi: {}
csi:
defaultStorage:
provider: local-path
Expand Down
1 change: 1 addition & 0 deletions examples/capi-quick-start/docker-cluster-cilium-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
cni:
provider: Cilium
strategy: ClusterResourceSet
cosi: {}
csi:
defaultStorage:
provider: local-path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
clusterAutoscaler: {}
cni:
provider: Cilium
cosi: {}
csi:
defaultStorage:
provider: local-path
Expand Down
1 change: 1 addition & 0 deletions examples/capi-quick-start/nutanix-cluster-calico-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
cni:
provider: Calico
strategy: ClusterResourceSet
cosi: {}
csi:
defaultStorage:
provider: nutanix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ spec:
clusterAutoscaler: {}
cni:
provider: Calico
cosi: {}
csi:
defaultStorage:
provider: nutanix
Expand Down
1 change: 1 addition & 0 deletions examples/capi-quick-start/nutanix-cluster-cilium-crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
cni:
provider: Cilium
strategy: ClusterResourceSet
cosi: {}
csi:
defaultStorage:
provider: nutanix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ spec:
clusterAutoscaler: {}
cni:
provider: Cilium
cosi: {}
csi:
defaultStorage:
provider: nutanix
Expand Down
3 changes: 3 additions & 0 deletions hack/examples/bases/docker/cluster/kustomization.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ patches:
- target:
kind: Cluster
path: ../../../patches/docker/csi.yaml
- target:
kind: Cluster
path: ../../../patches/nutanix/cosi.yaml
- target:
kind: Cluster
path: ../../../patches/encryption.yaml
Expand Down
3 changes: 3 additions & 0 deletions hack/examples/bases/nutanix/cluster/kustomization.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ patches:
- target:
kind: Cluster
path: ../../../patches/nutanix/csi.yaml
- target:
kind: Cluster
path: ../../../patches/nutanix/cosi.yaml
- target:
kind: Cluster
path: ../../../patches/nutanix/ccm.yaml
Expand Down
6 changes: 6 additions & 0 deletions hack/examples/patches/docker/cosi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2024 Nutanix. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

- op: "add"
path: "/spec/topology/variables/0/value/addons/cosi"
value: {}
6 changes: 6 additions & 0 deletions hack/examples/patches/nutanix/cosi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2024 Nutanix. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

- op: "add"
path: "/spec/topology/variables/0/value/addons/cosi"
value: {}

0 comments on commit e0bbda5

Please sign in to comment.