Skip to content

ctron/ditto-operator

Repository files navigation

Operator for Eclipse Ditto™

CI

Install the operator

You need to install the operator. Once you have installed the operator, you can create a new Ditto instance by create a new custom resource of type Ditto.

Using OperatorHub

The operator is available on OperatorHub.

Using Helm

You can also install the operator using Helm:

helm install ditto-operator ./helm/ditto-operator

MongoDB

You need to provide a MongoDB instance. You can easily deploy one with the following Helm chart:

helm repo add bitnami https://charts.bitnami.com/bitnami
helm install mongodb bitnami/mongodb --set podSecurityContext.enabled=false --set containerSecurityContext.enabled=false --set auth.rootPassword=admin123456 --set auth.enabled=false

Create Ditto instance

Create a new Ditto instance:

apiVersion: iot.eclipse.org/v1alpha1
kind: Ditto
metadata:
  name: test
spec:
  mongoDb:
    host: mongodb