Skip to content

An openshift-ready operator build upon the bitnami helm chart

Notifications You must be signed in to change notification settings

Netzlink/moodle-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

moodle_operator_CI_Prod

moodle Operator ( working on OpenShift)

This is an operator for moodle on K8s build with OpenShift in mind.

Deployment

If you use OpenShift just change kubectl to oc.

git clone git@github.com:Netzlink/moodle-operator.git
cd moodle-operator
kubectl apply -f moodle-operator/deploy/service_account.yaml
kubectl apply -f moodle-operator/deploy/role.yaml
kubectl apply -f moodle-operator/deploy/role_binding.yaml 
kubectl apply -f moodle-operator/deploy/crds/moodle.netzlink.com_moodlees_crd.yaml
kubectl apply -f moodle-operator/deploy/operator.yaml
kubectl apply -f moodle-operator/deploy/crds/moodle.netzlink.com_v1alpha1_moodle_cr.yaml

verify it's woriking

kubectl get pods -w

you should be ready to go!

Todo

  • For now the default systemaccount in the namespace has to have the anyuid SCC in OpenShift

Thanks

  • RedHat for the awesome operator-framework
  • ASO for introducing me to it
  • Bitnami for there Helm file for moodle
  • CNCF for K8S

About

An openshift-ready operator build upon the bitnami helm chart

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published