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 Nov 10, 2023
1 parent 8a09a42 commit 3c7c5c7
Show file tree
Hide file tree
Showing 55 changed files with 1,463 additions and 72 deletions.
19 changes: 19 additions & 0 deletions cloud-provider.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export REGISTRY=jont828
export AZWI=false

export TEST_CCM="true"
export CONTROL_PLANE_MACHINE_COUNT="1"
export KUBERNETES_VERSION=latest
export CLUSTER_TEMPLATE=https://raw.githubusercontent.com/kubernetes-sigs/cloud-provider-azure/master/tests/k8s-azure/manifest/cluster-api/cluster-template-prow-ci-version-oot-credential-provider.yaml
export AZURE_LOADBALANCER_SKU=Standard
export CLUSTER_PROVISIONING_TOOL=capz
export TEST_WINDOWS="true"
export TEST_ACR_CREDENTIAL_PROVIDER="true"
export LABEL_FILTER=OOT-Credential
export LOCAL_ONLY="false"
export USE_LOCAL_KIND_REGISTRY="false"
# export AZURE_CREDENTIALS=/etc/azure-cred/credentials
export DOCKER_IN_DOCKER_ENABLED="true"
export GOPROXY=https://proxy.golang.org
export AZURE_STORAGE_ACCOUNT="jonathane2estorage"
export AZURE_STORAGE_KEY="6RYfGWb08kgcafWqXF1qruRpoh6LLgytkMT7eM7FTYkGCS8gF+6JrH8PFVi3T6FW1FQl1/hHQukn+ASt1a7n0w=="
24 changes: 24 additions & 0 deletions templates/addons/cluster-api-helm/cloud-provider-azure-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
name: cloud-provider-azure-chart-ci
spec:
clusterSelector:
matchLabels:
cloud-provider: "azure-ci"
repoURL: https://raw.githubusercontent.com/kubernetes-sigs/cloud-provider-azure/master/helm/repo
chartName: cloud-provider-azure
releaseName: cloud-provider-azure
valuesTemplate: |
infra:
clusterName: {{ .Cluster.metadata.name }}
cloudControllerManager:
clusterCIDR: {{ .Cluster.spec.clusterNetwork.pods.cidrBlocks | join "," }}
imageName: ${CCM_IMAGE_NAME}
imageRepository: ${CCM_IMAGE_REGISTRY}
imageTag: ${IMAGE_TAG_CCM}
logVerbosity: 4
cloudNodeManager:
imageName: ${CNM_IMAGE_NAME}
imageRepository: ${CNM_IMAGE_REGISTRY}
imageTag: ${IMAGE_TAG_CCM}
17 changes: 17 additions & 0 deletions templates/addons/cluster-api-helm/cloud-provider-azure.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
name: cloud-provider-azure-chart
spec:
clusterSelector:
matchLabels:
cloud-provider: "azure"
repoURL: https://raw.githubusercontent.com/kubernetes-sigs/cloud-provider-azure/master/helm/repo
chartName: cloud-provider-azure
releaseName: cloud-provider-azure
valuesTemplate: |
infra:
clusterName: {{ .Cluster.metadata.name }}
cloudControllerManager:
clusterCIDR: {{ .Cluster.spec.clusterNetwork.pods.cidrBlocks | join "," }}
logVerbosity: 4
46 changes: 46 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.

46 changes: 46 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.

46 changes: 46 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.

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

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

46 changes: 46 additions & 0 deletions templates/test/ci/cluster-template-prow-custom-vnet.yaml

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

Loading

0 comments on commit 3c7c5c7

Please sign in to comment.