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

oVirt/csi-driver-operator

Repository files navigation

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

About

Operator for deploying oVirt CSI driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published