Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-892

Omit imagePullPolicy from the deployment created by Sonata operator

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: **

      The operator sets imagePullPoiicy to `Always`. This is against the default of openshift, which is ifNotPresent.

      How reproducible:

      100%

      Steps to reproduce:

      1.Deploy any sonataflow resource, e.g greeting and see the default

      oc create -f  https://raw.githubusercontent.com/rgolangh/serverless-workflows-helm/main/charts/workflows/charts/greeting/templates/01-sonataflow_greeting.yaml

      2. oc get deployments greeting  -o jsonpath={.spec.template.spec.containers[]}  | jq '.imagePullPolicy'

      Actual results:

      "Always"

      Expected results:

      "ifNotPresent"

              Unassigned Unassigned
              rgolan1@redhat.com Roy Golan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: