in src/com/epam/edp/platform/Kubernetes.groovy [67:77]
def protected getTags(imageStreamName, crApiGroup) {
def tags = script.sh(
script: "kubectl get cbis.${crApiGroup} ${imageStreamName} -o jsonpath='{range .spec.tags[*]}{.name}{\" | \"}{.created}{\"\\n\"}{end}'",
returnStdout: true
).trim()
if (tags.size() == 0) {
return null
}
return tags.split('\n')
}