OTH Public Software

2.70 OTH Configuration

The configuration for version 2.70 is as follows:

apiVersion: k8s.oth.io/v1alpha1
kind: Oth
metadata:
  name: oth-demo # name of deployment must match the secret
  namespace: oth-demo # namespace of deployment
spec:
  productversion: "2.70.00" # must match the controller version
  external:
    # [true|false] controllers if external database is to be used (must be true for production)
    database: true
    # [true|false] controllers if rabbitmq is to be used (must be true for production)
    rabbitmq: true
  deployment:
    # Controls if ingress should terminate tls (requires secret name oth-<name>-tls to contain TLS certificate)
    enable_tls: true
    # The domain name of the deployment
    fqdn: oth-kubes-lch.oth.io
    # The timezone of the deployment
    timezone: Europe/Copenhagen
    # The language code of the deployment
    language: da-DK
    # key for internal reporting
    customer: oth
    # key for internal reporting
    stage: sample
    # [prod|demo] Controls creation of demo data is. Must be prod for production 
    environment: demo
  # Database information (hostname, username is required)
  database:
    hostname: <IP of database server>
    username: <db user>
  # RabbitMQ information (hostname, username is required)
  # The user must have administrative rights as we configure the vhost on start
  rabbitmq:
    hostname: <IP of rabbitmq>
    username: <username for rabbitmq>
    vhost: <the vhostname>
  # OTH Features
  features:
    # Setup CORS whitelists
    cors:
      whitelist:
        - http://<ip/host:port?>