- Go through the installation guide.
- User authorized with
cluster-adminpermissions.
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_IMGBundle 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_IMGRun your bundle:
export BUNDLE_IMG="docker.io/ursa/odoo-operator-bundle:$VERSION"
operator-sdk run bundle $BUNDLE_IMGCreate a sample Odoo custom resource:
kubectl apply -f config/samples/apps_v1alpha1_odoo.yamlUninstall the operator:
operator-sdk cleanup odoo-operatorReport any problem or question by creating an issue on the GitHub project.