This operator manages the lifecycle of ManageIQ application on a Kubernetes or OCP4 cluster.
The following dependencies are required for some of the make commands:
- kustomize: https://github.com/kubernetes-sigs/kustomize/releases
- etcd: https://github.com/etcd-io/etcd/releases/
- kube-apiserver:
sudo dnf install kubernetes-master && sudo chmod +x /usr/bin/kube-apiserver
???
Follow the documentation for preparing the namespace except for the Deploy the operator in your namespace
step.
There are three different ways the operator can be run.
-
Follow the
Deploy the operator in your namespace
step in the documentation. -
1 - Build and push your operator image:
$ IMG=docker.io/<your_username_or_organization>/manageiq-operator make docker-build docker-push
2 - Update the operator deployment yaml file with your custom image:
$ sed -i 's|docker.io/manageiq/manageiq-operator:latest|docker.io/<your_username_or_organization>/manageiq-operator:latest|g' config/manager/manager.yaml
3 - Run your custom image from the registry:
$ oc create -f config/manager/manager.yaml
-
$ WATCH_NAMESPACE=<your_namespace> make run