Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-3249

Make the init container image configurable and find a A+ image

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • kubernetes, team/eng
    • None
    • Replace init container image
    • False
    • None
    • False
    • To Do
    • ---

      When using an initialization job (liquibase, flyway, soon kafka and amqp), Quarkus generates:

      1. A Kubernetes job
      2. An init container configuration waiting for the job execution

      Currently, the second step uses a random image based on Alpine (groundnuty/k8s-wait-for:no-root-v1.7 - https://github.com/groundnuty/k8s-wait-for) and with a few CVEs. It's important to understand that this image runs in production at the start of the application.

      This issue is about:

      1. Make that image configurable
      2. Find a better image, ideally validated by Red Hat

      Unfortunately, the approach recommended in the OpenShift documentation (https://docs.openshift.com/container-platform/4.8/nodes/containers/nodes-containers-init.html) is not suitable as UBI does not provide kubectl. We at least need kubeclt to, then, write an entry point command waiting for the job execution.

              ikanello1@redhat.com Ioannis Kanellos
              cescoffi@redhat.com Clement Escoffier
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: