rgolangh opened a new issue, #359:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/359

   ### Describe the bug
   
   The operator sets imagePullPoiicy to `Always`. This is against the default 
of openshift, which is ifNotPresent , and against
   the k8s default which should be also ifNotPresent in case a tag or SHA is 
used.
   
   
   ### Expected behavior
   
   if there's a tag which is not 'latest' , then omit the imagePullPolicy 
completely
   
   ### Actual behavior
   
   imagePullPolicy is set in the generated deployment
   
   ### How 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'
   
   ### Output of `uname -a` or `ver`
   
   k8s kind 0.20
   
   ### Golang version
   
   _No response_
   
   ### Operator-sdk version
   
   _No response_
   
   ### SonataFlow Operator version or git rev
   
   _No response_
   
   ### Additional information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to