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

Operator does not create imagestreamtag if imagestream is already existing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.7.0
    • None
    • Operator
    • Workaround Exists
    • Show
      Apply 0.6.0 imagestreams: https://raw.githubusercontent.com/kiegroup/kogito-cloud/0.6.0/s2i/kogito-imagestream.yaml
    • Hide

      Used CR:

      apiVersion: app.kiegroup.org/v1alpha1
      kind: KogitoApp
      metadata:   name: hr-service
      spec:   build:     gitSource:       uri: https://github.com/kiegroup/kogito-examples
            contextDir: onboarding-example/hr
          imageRuntime:       imageStreamTag: 0.5.1
          imageS2I:       imageStreamTag: 0.5.1
        service:     labels:       department: process
            id: process
            employeeValidation: process
      

      Apply imagestreams for 0.5.1 and apply this CR.

      Then update the CR with 0.6.0 version to runtime and s2i tags and apply the CR.
      No 0.6.0 imagestreamtags are created.

      Show
      Used CR: apiVersion: app.kiegroup.org/v 1 alpha 1 kind: KogitoApp metadata: name: hr-service spec: build: gitSource: uri: https://github.com/kiegroup/kogito-examples contextDir: onboarding-example/hr imageRuntime: imageStreamTag: 0 . 5 . 1 imageS 2 I: imageStreamTag: 0 . 5 . 1 service: labels: department: process id: process employeeValidation: process Apply imagestreams for 0.5.1 and apply this CR. Then update the CR with 0.6.0 version to runtime and s2i tags and apply the CR. No 0.6.0 imagestreamtags are created.
    • 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30)

      The Operator does not create the specific imagestreamtag if the imagestream is already present in the namespace or openshift namespace.

      This might come from kogitoapp_controller.go

              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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: