- Go through the installation guide.
- User authorized with
cluster-admin
permissions.
Build and push the operator:
export VERSION=0.0.2
export OPERATOR_IMG="docker.io/ursa/odoo-operator:$VERSION"
make docker-build docker-push IMG=$OPERATOR_IMG
Bundle your operator and push the bundle image:
make bundle IMG=$OPERATOR_IMG
export BUNDLE_IMG="docker.io/ursa/odoo-operator-bundle:$VERSION"
make bundle-build BUNDLE_IMG=$BUNDLE_IMG
make docker-push IMG=$BUNDLE_IMG
Run your bundle:
export BUNDLE_IMG="docker.io/ursa/odoo-operator-bundle:$VERSION"
operator-sdk run bundle $BUNDLE_IMG
Create a sample Odoo custom resource:
kubectl apply -f config/samples/apps_v1alpha1_odoo.yaml
Uninstall the operator:
operator-sdk cleanup odoo-operator
Report any problem or question by creating an issue on the GitHub project.