This article is only relevant for v0.9.2 to v0.9.4.

Upgrading v0.9.2 to v0.9.4

During the upgrade some changes need to be done manually

Instructions

  1. Change the kafkaBridge.topicmap to the latest value specified here: https://learn.umh.app/docs/core/helmchart/ Right now this is

    topicmap:
        - bidirectional: false
          name: HighIntegrity
          send_direction: to_remote
          topic: ^ia\.(([^r.](\d|-|\w)*)|(r[b-z](\d|-|\w)*)|(ra[^w]))\.(\d|-|\w|_)+\.(\d|-|\w|_)+\.((addMaintenanceActivity)|(addOrder)|(addParentToChild)|(addProduct)|(addShift)|(count)|(deleteShiftByAssetIdAndBeginTimestamp)|(deleteShiftById)|(endOrder)|(modifyProducedPieces)|(modifyState)|(productTag)|(productTagString)|(recommendation)|(scrapCount)|(startOrder)|(state)|(uniqueProduct)|(scrapUniqueProduct))$
        - bidirectional: false
          name: HighThroughput
          send_direction: to_remote
          topic: ^ia\.(([^r.](\d|-|\w)*)|(r[b-z](\d|-|\w)*)|(ra[^w]))\.(\d|-|\w|_)+\.(\d|-|\w|_)+\.(process[V|v]alue).*$
    
  2. When using barcodereader, change the following lines

    barcodereader:
      image: unitedmanufacturinghub/barcodereader
      resources:
        limits:
          cpu: 10m
          memory: 60Mi
        requests:
          cpu: 2m
          memory: 30Mi
    

    to these lines

    barcodereader:
      enabled: false
      image:
        repository: unitedmanufacturinghub/barcodereader
        pullPolicy: IfNotPresent
      resources:
        requests:
          cpu: "2m"
          memory: "30Mi"
        limits:
          cpu: "10m"
          memory: "60Mi"
      scanOnly: false # Debug mode, will not send data to kafka
    
  3. Follow the other advices in

    Upgrading the Helm Chart

Last modified May 5, 2023: feat: finishing touches (1147002)