# csi-driver-shared-resource-operator **Repository Path**: mirrors_openshift/csi-driver-shared-resource-operator ## Basic Information - **Project Name**: csi-driver-shared-resource-operator - **Description**: Operator for sharing Secrets and ConfigMaps across namespaces - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-31 - **Last Updated**: 2026-03-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > [!warning] > **This repo is obsolete in OCP 4.18.** > csi-driver-shared-resource-operator is no longer deployed as part of the OCP payload on 4.18 and newer branches. Instead, the [Shared Resource CSI Driver](https://github.com/openshift/csi-driver-shared-resource) is packaged as part of the Builds for OpenShift layered product. > 4.17 and older branches in this repo are still in use, until EOL of the corresponding OCP version. # csi-driver-shared-resource-operator An operator to deploy the [Shared Resource CSI Driver](https://github.com/openshift/csi-driver-shared-resource) in OpenShift. This operator will eventually be installed by the [cluster-storage-operator](https://github.com/openshift/cluster-storage-operator). NOTE: at the moment, using this driver is only supported via cloning this repository and executing the commands detailed below. # Quick start Before running the operator manually, you must remove the operator installed by CSO/CVO. To facilitate that, you should have a clone of the [cluster-storage-operator](https://github.com/openshift/cluster-storage-operator) as a peer subdirectory (off of an 'openshift' directory) of your clone of this repository. ```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's resources from a clone of the cluster storage operator repository oc delete -f ../cluster-storage-operator/assets/csidriveroperators/shared-resource/ # Delete operator's operand resources from a clone of this repository oc delete -f ./assets oc delete -f ./assets/webhook oc delete -f ./assets/rbac ``` To build run `make build`. To deploy run `make deploy`. You can override the images used for the CSI Node Driver Registrar, the image for this operator, the image used for the Shared Resource CSI Driver that this operator deploys and the image used for the Shared Resource CSI Driver Webhook, all via environment variables: - `NODE_DRIVER_REGISTRAR_IMAGE` where the default is quay.io/openshift/origin-csi-node-driver-registrar:latest - `OPERATOR_IMAGE` where the default is quay.io/openshift/origin-csi-driver-shared-resource-operator:latest - `DRIVER_IMAGE` where the default is quay.io/openshift/origin-csi-driver-shared-resource:latest - `WEBHOOK_IMAGE` where the default is quay.io/openshift/origin-csi-driver-shared-resource-webhook:latest