jkube
jkube copied to clipboard
imagePullPolicy: IfNotPresent should be Always for -SNAPSHOTs
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