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

Operator allow to define different versions in KogitoApp CR but does not allow them to be different when executing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 0.8.0
    • None
    • Operator
    • Hide
      apiVersion: app.kiegroup.org/v1alpha1
      kind: KogitoApp
      metadata:   name: onboarding-service
      spec:   build:     gitSource:       uri: https://github.com/kiegroup/kogito-examples
            contextDir: onboarding-example/onboarding
          imageRuntime:       imageStreamTag: 0.6.0
          imageS2I:       imageStreamTag: 0.5.1
        service:     labels:       onboarding: process
        runtime: quarkus
        env:     - name: NAMESPACE
            value: "kogito"
      
      Show
      apiVersion: app.kiegroup.org/v 1 alpha 1 kind: KogitoApp metadata: name: onboarding-service spec: build: gitSource: uri: https://github.com/kiegroup/kogito-examples contextDir: onboarding-example/onboarding imageRuntime: imageStreamTag: 0 . 6 . 0 imageS 2 I: imageStreamTag: 0 . 5 . 1 service: labels: onboarding: process runtime: quarkus env: - name: NAMESPACE value: "kogito"
    • 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30), 2020 Week 04-06 (from Jan 20)

      When defining a KogitoApp CR, we have the possibility to set image version for runtime and s2i:

      apiVersion: app.kiegroup.org/v1alpha1
      kind: KogitoApp
      metadata:   name: service
      spec:   build:     [...]
          imageRuntime:       imageStreamTag: 0.6.0
          imageS2I:       imageStreamTag: 0.6.0
      

      If versions are different (see steps to reproduce), then the operator is taking those versions into account and take the default one, and logs this message:

      ImageS2I and ImageRuntime are set and are different, using the default tag 0.6.
      

              rhn-support-zanini Ricardo Zanini
              tradisso@redhat.com Tristan Radisson
              Tristan Radisson Tristan Radisson
              Tristan Radisson Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: