Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-938

Operator: If the kogitoinfra already exists, the infrastructure package will overwrite the components installation values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.7.0
    • None
    • Operator

      Introduced by KOGITO-679 and the change into the infrastructure package (kogitoinfra.go), the values of an existing KogitoInfra for components usage will be overriden, without taking into account current values ...
      Indeed, information from EnsureComponent are overriding current values of kogitoinfra if it exists, whereas is should update it if needed (install or remove demands).

      Let's say that KogitoInfra exists and Kafka is set to true. If you call

      infrastructure.EnsureKogitoInfra(...).WithInfinispan().Apply()
      

      then Kafka will be set to false and Infinispan will be set to true.
      Which is not what we wanted here. We just wanted to add Infinispan ...

              tradisso@redhat.com Tristan Radisson (Inactive)
              tradisso@redhat.com Tristan Radisson (Inactive)
              Tristan Radisson Tristan Radisson (Inactive)
              Tristan Radisson Tristan Radisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: