Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-295

Use x.y instead of x.y-z versions of required container images referenced by CRW operator

XMLWordPrintable

      Today, we reference ubi8-minimal, sso, and postgres images like this:

      DefaultPvcJobsImage              = "registry.access.redhat.com/ubi8-minimal:8.0-127"
      DefaultPostgresImage             = "registry.access.redhat.com/rhscl/postgresql-96-rhel7:1-40"
      DefaultKeycloakImage             = "registry.access.redhat.com/redhat-sso-7/sso73-openshift:1.0-11"
      

      And we use PullPolicy = IfNotPresent:

      But in future, we might want to pull the latest images for a given branch, rather than specific ones, to ensure CVE fixes are rolled out more quickly (to avoid CRW-283):

      DefaultPvcJobsImage              = "registry.access.redhat.com/ubi8-minimal:8.0"
      DefaultPostgresImage             = "registry.access.redhat.com/rhscl/postgresql-96-rhel7:1"
      DefaultKeycloakImage             = "registry.access.redhat.com/redhat-sso-7/sso73-openshift:1.0"
      

      or even just latest images overall:

      DefaultPvcJobsImage              = "registry.access.redhat.com/ubi8-minimal"
      DefaultPostgresImage             = "registry.access.redhat.com/rhscl/postgresql-96-rhel7"
      DefaultKeycloakImage             = "registry.access.redhat.com/redhat-sso-7/sso73-openshift"
      

      In either case, we should consider switching the PullPolicy to Always so that registries are pinged on startup of a container to ensure the latest is loaded.

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: