private static boolean isLocalCustomisation ( PodSpec podSpec ) { List < Container > containers = podSpec . getContainers ( ) != null ? podSpec . getContainers ( ) : Collections . < Container > emptyList ( ) ; for ( Container container : containers ) { if ( StringUtils . isNotBlank ( container . getImage ( ) ) ) { return false ; } } return true ; }
we could also use an annotation?