enricher/standard/src/main/java/io/fabric8/maven/enricher/standard/DefaultControllerEnricher.java
private String getImagePullPolicy(ResourceConfig resourceConfig, String defaultValue) {
        if(resourceConfig != null) {
            return resourceConfig.getImagePullPolicy() != null ? resourceConfig.getImagePullPolicy() : defaultValue;
        }
        return defaultValue;
    }
private String getImagePullPolicy(ResourceConfig resourceConfig, String defaultValue) {
        if(resourceConfig != null) {
            return resourceConfig.getImagePullPolicy() != null ? resourceConfig.getImagePullPolicy() : defaultValue;
        }
        return defaultValue;
    }
private String getImagePullPolicy ( ResourceConfig resourceConfig , String defaultValue ) { if ( resourceConfig != null ) { return resourceConfig . getImagePullPolicy ( ) != null ? resourceConfig . getImagePullPolicy ( ) : defaultValue ; } return defaultValue ; }
This method overrides the ImagePullPolicy value by the value provided in
XML config.

@param resourceConfig
@param defaultValue
@return
This method overrides the ImagePullPolicy value by the value provided in XML config .