Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22626

Updating deployed docker image on OpenShift does not work

    XMLWordPrintable

Details

    Description

      In JBIDE-22515 was fixed use case when user have an image with specific tag. That works now ok.

      But if user deploys image with tag e.g. :0.8 to OpenShift, resources are created for this specific tag. When I am trying to Deploy to OS image with tag :0.9 afterwards, everything finish without an error. No new resources are created, but no existing resources are modified to contain this new image. Deployment config still contains tag :0.8 and thus new deployment is not done.

      Basically we need to modify deployment config in such cases to contains newer tag and let OpenShift do all magic and redeploy it.

      In order to add this version tag after semicolon, right-click on the image -> Add tag -> Re-type namespace/imagename + add ":0.8" e.g.

      Tagging Images: https://docs.openshift.com/enterprise/latest/dev_guide/managing_images.html#tagging-images
      Image Change Trigger: https://docs.openshift.com/enterprise/latest/dev_guide/deployments.html#image-change-trigger

      Attachments

        Issue Links

          Activity

            People

              dbocharo@redhat.com Dmitrii Bocharov (Inactive)
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: