Skip to content

Commit

Permalink
Install azure disk CSI driver Helm chart with CAAPH
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Oct 24, 2023
1 parent 6e074c7 commit e91353f
Show file tree
Hide file tree
Showing 54 changed files with 670 additions and 1,196 deletions.
2 changes: 1 addition & 1 deletion hack/create-dev-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export CONTROL_PLANE_MACHINE_COUNT=${CONTROL_PLANE_MACHINE_COUNT:-3}
export AZURE_CONTROL_PLANE_MACHINE_TYPE="${CONTROL_PLANE_MACHINE_TYPE:-Standard_B2s}"
export AZURE_NODE_MACHINE_TYPE="${NODE_MACHINE_TYPE:-Standard_B2s}"
export WORKER_MACHINE_COUNT=${WORKER_MACHINE_COUNT:-2}
export KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.25.6}"
export KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.26.6}"
export CLUSTER_TEMPLATE="${CLUSTER_TEMPLATE:-cluster-template.yaml}"

# identity secret settings.
Expand Down
18 changes: 18 additions & 0 deletions templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
name: azuredisk-csi-driver-chart
spec:
clusterSelector:
matchLabels:
azuredisk-csi: "true"
repoURL: https://raw.githubusercontent.com/kubernetes-sigs/azuredisk-csi-driver/master/charts
chartName: azuredisk-csi-driver
releaseName: azuredisk-csi-driver-oot
namespace: kube-system
valuesTemplate: |
controller:
replicas: 1
runOnControlPlane: true
windows:
useHostProcessContainers: {{ hasKey .Cluster.metadata.labels "cni-windows" }}
22 changes: 22 additions & 0 deletions templates/test/ci/cluster-template-prow-azure-cni-v1.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions templates/test/ci/cluster-template-prow-ci-version-dual-stack.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions templates/test/ci/cluster-template-prow-ci-version-ipv6.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e91353f

Please sign in to comment.