Operator for the EFS provisioner
TODO
- Create CRD, namespace, RBAC rules, service account, & operator
$ oc apply -f ./deploy/
- Edit the CR and create it
$ oc create -f ./deploy/crds/efs_v1alpha1_efsprovisioner_cr.yaml -n=openshift-efs-provisioner-operator
- Describe the CR to get the status as the operator reconciles the CR
- Edit the CR to make configuration changes as needed
The operator automatically creates and manages the assets in assets/. It is possible also to create and manage them yourself.
See also: https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
- Create storage class and cluster RBAC rules
$ oc create -f assets/class.yaml -f assets/clusterrole.yaml -f assets/clusterrolebinding.yaml
- Create a namespace
$ oc create ns efs-provisioner
- Create namespace RBAC rules
$ oc create -f assets/role.yaml -f assets/rolebinding.yaml -f assets/serviceaccount.yaml -n efs-provisioner
- Edit the deployment and create it
$ oc create -f assets/deployment.yaml -n efs-provisioner
- Describe the deployment to get its status
- Edit the deployment or edit/recreate the storage class to make configuration changes as needed