Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Latest commit

 

History

History
50 lines (40 loc) · 1.3 KB

README.md

File metadata and controls

50 lines (40 loc) · 1.3 KB

This repository is inactive, please refer to: https://github.com/openshift/ovirt-csi-driver-operator

An operator to deploy oVirt's CSI driver

Container Image: https://quay.io/repository/ovirt/csi-driver-operator

This operator will deploy and watch oVirt csi driver components:

  • OvirtCSIOperator - the main operator object
  • StatefulSet of the csi controller
  • DaemonSet of the csi node
  • RBAC objects (ServiceAccount, ClusterRoles, RoleBindings)

Installation

  1. Deploy the operator from manifests/ directory(needs jq tool):
curl -s https://api.github.com/repos/ovirt/csi-driver-operator/contents/manifests \
 | jq '.[].download_url' \
 | xargs curl -L \
 | oc create -f -
  1. Create a storage class and point it to the oVirt storage domain in use:
cat << EOF | oc create -f -
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: ovirt-csi-sc
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
provisioner: csi.ovirt.org
parameters:
  storageDomainName: "YOUR-STORAGE-DOMAIN"
  thinProvisioning: "true"
EOF

Development

  • everyday standard
make build verify
  • create a container image tagged quay.io/ovirt/ovirt-csi-driver-operator:latest
make image