Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-6207

[Operator] spec.Image field always overwritten by Operand image for CVE releases

XMLWordPrintable

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      As a custom image is being used, it's possible to update the spec.version to an Operand that is not marked as a CVE release. The latest of which is 8.4.1-1.

      Show
      As a custom image is being used, it's possible to update the spec.version to an Operand that is not marked as a CVE release. The latest of which is 8.4.1-1 .

      If a user provides a customer image via spec.image, then the StatefulSet is initially provisioned with the specified image. However, the Operator then determines that the provisioned image is not the same as the image associated with spec.version and initialises a rolling upgrade of the StatefulSet resulting in the Operand image value always being used.

      statefulset_updates.go needs to be updated to not initiate a rolling upgrade if the container image matches the one provided by spec.image.

      This only occurs if the configured spec.version relates to an Operand that is marked as a CVE release.

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Pavel Drobek Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: