项目作者: ursais

项目描述 :
Odoo Operator built using the Operator SDK.
高级语言: Jinja
项目地址: git://github.com/ursais/odoo-operator.git
创建时间: 2020-07-05T22:26:38Z
项目社区:https://github.com/ursais/odoo-operator

开源协议:

下载


Docker Repository on Quay

Odoo Operator

Table of Contents

Prerequisites

Build the operator

Build and push the operator:

  1. export VERSION=0.0.2
  2. export OPERATOR_IMG="docker.io/ursa/odoo-operator:$VERSION"
  3. make docker-build docker-push IMG=$OPERATOR_IMG

Build the bundle

Bundle your operator and push the bundle image:

  1. make bundle IMG=$OPERATOR_IMG
  2. export BUNDLE_IMG="docker.io/ursa/odoo-operator-bundle:$VERSION"
  3. make bundle-build BUNDLE_IMG=$BUNDLE_IMG
  4. make docker-push IMG=$BUNDLE_IMG

Usage

Run your bundle:

  1. export BUNDLE_IMG="docker.io/ursa/odoo-operator-bundle:$VERSION"
  2. operator-sdk run bundle $BUNDLE_IMG

Create a sample Odoo custom resource:

  1. kubectl apply -f config/samples/apps_v1alpha1_odoo.yaml

Uninstall the operator:

  1. operator-sdk cleanup odoo-operator

Support

Report any problem or question by creating an issue on the
GitHub project.