Describe the bug
Trying to use jkube.enricher.jkube-controller.pullPolicy to set the image pull policy to Always. It works. However, once I added a deployment resource fragment, even not related, it stopped working.
Eclipse JKube version
1.8.0
Component
Kubernetes Maven Plugin
Apache Maven version
No response
Gradle version
No response
Steps to reproduce
- Create a spring boot app from
- Add the kubernetes maven plugin
- Add in the pom.xml properties
<jkube.enricher.jkube-controller.pullPolicy>Always</jkube.enricher.jkube-controller.pullPolicy>
mvn k8s:resource, the generated configuration with a pullpolicy to Always for the container image.
- Add the file
src/main/jkube/deployment.yml
mvn k8s:resource, the generated configuration with a pullpolicy to IfNotPresent for the container image.
Expected behavior
it should keep the pull policy to Always
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
Describe the bug
Trying to use
jkube.enricher.jkube-controller.pullPolicyto set the image pull policy toAlways. It works. However, once I added adeploymentresource fragment, even not related, it stopped working.Eclipse JKube version
1.8.0
Component
Kubernetes Maven Plugin
Apache Maven version
No response
Gradle version
No response
Steps to reproduce
<jkube.enricher.jkube-controller.pullPolicy>Always</jkube.enricher.jkube-controller.pullPolicy>mvn k8s:resource, the generated configuration with a pullpolicy toAlwaysfor the container image.src/main/jkube/deployment.ymlmvn k8s:resource, the generated configuration with a pullpolicy toIfNotPresentfor the container image.Expected behavior
it should keep the pull policy to
AlwaysRuntime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response