Skip to content

KlettIT/ovirt-csi-driver-operator

 
 

Repository files navigation

An operator to deploy oVirt's CSI driver

UNDER DEVELOPMENT

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's csi driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.1%
  • Makefile 3.7%
  • Dockerfile 1.2%