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

Updating the image in the spec of a KogitoRuntime does not update the corresponding Deployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.14.0.Final
    • 1.2.0.Final
    • Operator
    • None
    • False
    • False
    • Undefined
    • Workaround Exists
      1. Delete the KogitoRuntime
      2. Create the KogitoRuntime with the updated image
      1. Create a KogitoRuntime with an image in the spec
      2. Update the image in the spec of the KogitoRuntime with a different image
    • ---
    • ---

    Description

      If I update the image field in the spec of a KogitoRuntime, my expectation is that the corresponding Deployment would be updated to use this image. This does not happen. I have to delete and then re-create the KogitoRuntime for the updated image to be used in the Deployment.

      As an example:

      apiVersion: app.kiegroup.org/v1beta1
      kind: KogitoRuntime
      metadata:
        name: update-decision
      spec:
        image: quay.io/ruben/baaas-decision-builds:baaas-1-update-decision-1                                                                          

      If I change the above KogitoRuntime to the following:

      apiVersion: app.kiegroup.org/v1beta1
      kind: KogitoRuntime
      metadata:
         name: update-decision
      spec:
         image: quay.io/ruben/baaas-decision-builds:baaas-1-update-decision-2 

       

      My expectation is that the corresponding Deployment would be updated to use my new Image. 

       

      Attachments

        Activity

          People

            ksuta Karel Suta
            rblake@redhat.com Rob Blake
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: