Skip to content

GovTechSG/efs-provisioner-operator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

efs-provisioner-operator

Operator for the EFS provisioner

Usage

OLM

TODO

YAML

  1. Create CRD, namespace, RBAC rules, service account, & operator
$ oc apply -f ./deploy/
  1. Edit the CR and create it
$ oc create -f ./deploy/crds/efs_v1alpha1_efsprovisioner_cr.yaml -n=openshift-efs-provisioner-operator
  1. Describe the CR to get the status as the operator reconciles the CR
  2. Edit the CR to make configuration changes as needed

Conventional (non-operator) deployment

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

  1. Create storage class and cluster RBAC rules
$ oc create -f assets/class.yaml -f assets/clusterrole.yaml -f assets/clusterrolebinding.yaml
  1. Create a namespace
$ oc create ns efs-provisioner
  1. Create namespace RBAC rules
$ oc create -f assets/role.yaml -f assets/rolebinding.yaml -f assets/serviceaccount.yaml -n efs-provisioner
  1. Edit the deployment and create it
$ oc create -f assets/deployment.yaml -n efs-provisioner
  1. Describe the deployment to get its status
  2. Edit the deployment or edit/recreate the storage class to make configuration changes as needed

About

Operator for the EFS provisioner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.9%
  • Makefile 2.3%
  • Smarty 1.5%
  • Dockerfile 0.3%