jkube icon indicating copy to clipboard operation
jkube copied to clipboard

imagePullPolicy: IfNotPresent should be Always for -SNAPSHOTs

Open robinroos opened this issue 3 years ago • 9 comments

Description

Upon oc:resource oc:deploy of a Spring Boot application, the resulting Deployment has imagePullPolicy: IfNotPresent. This causes OpenShift not to fetch the new version. If the built version is a SNAPSHOT then imagePullPolicy should have value Always.

Info

  • Eclipse JKube version : 1.5.1
  • Maven version (mvn -v) : 3.6.3
  • Kubernetes / Red Hat OpenShift setup and version : OpenShift 4.7

robinroos avatar Nov 22 '21 18:11 robinroos