# azure-file-csi-driver-operator **Repository Path**: mirrors_openshift/azure-file-csi-driver-operator ## Basic Information - **Project Name**: azure-file-csi-driver-operator - **Description**: The azure-file-csi-driver-operator installs and maintains the Azure File CSI Driver on a cluster. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > [!warning] > **This repo is obsolete in OCP 4.16.** > Azure File CSI driver operator in 4.16 and newer is built from https://github.com/openshift/csi-operator. > 4.15 and older branches in this repo are still in use, until EOL of the corresponding OCP version. > See [this enhancement](https://github.com/openshift/enhancements/blob/master/enhancements/storage/csi-driver-operator-merge.md) for details. # azure-file-csi-driver-operator An operator to deploy the [Azure File CSI Driver](https://github.com/openshift/azure-file-csi-driver) in OKD. This operator is installed by the [cluster-storage-operator](https://github.com/openshift/cluster-storage-operator). # Quick start Before running the operator manually, you must remove the operator installed by CSO/CVO ```shell # Scale down CVO and CSO oc scale --replicas=0 deploy/cluster-version-operator -n openshift-cluster-version oc scale --replicas=0 deploy/cluster-storage-operator -n openshift-cluster-storage-operator # Delete operator resources (daemonset, deployments) oc -n openshift-cluster-csi-drivers delete deployment.apps/azure-file-csi-driver-operator deployment.apps/azure-file-csi-driver-controller daemonset.apps/azure-file-csi-driver-node ``` To build and run the operator locally: ```shell # Build the operator make # Set kubeconfig and obtain desired version export KUBECONFIG= export OPERATOR_IMAGE_VERSION=$(oc get clusterversion/version -o json | jq -r '.status.desired.version') # Set the environment variables export DRIVER_IMAGE=quay.io/openshift/origin-azure-file-csi-driver:latest export PROVISIONER_IMAGE=quay.io/openshift/origin-csi-external-provisioner:latest export ATTACHER_IMAGE=quay.io/openshift/origin-csi-external-attacher:latest export RESIZER_IMAGE=quay.io/openshift/origin-csi-external-resizer:latest export SNAPSHOTTER_IMAGE=quay.io/openshift/origin-csi-external-snapshotter:latest export NODE_DRIVER_REGISTRAR_IMAGE=quay.io/openshift/origin-csi-node-driver-registrar:latest export LIVENESS_PROBE_IMAGE=quay.io/openshift/origin-csi-livenessprobe:latest export KUBE_RBAC_PROXY_IMAGE=quay.io/openshift/origin-kube-rbac-proxy:latest export CLUSTER_CLOUD_CONTROLLER_MANAGER_OPERATOR_IMAGE=quay.io/openshift/origin-cluster-cloud-controller-manager-operator:latest # Run the operator via CLI ./azure-file-csi-driver-operator start --kubeconfig $KUBECONFIG --namespace openshift-cluster-csi-drivers ```