diff --git a/tools/get-images.sh b/tools/get-images.sh index 9326f26..7550a16 100644 --- a/tools/get-images.sh +++ b/tools/get-images.sh @@ -2,11 +2,6 @@ # # This script returns list of container images that are managed by this charm and/or its workload # -# static list -STATIC_IMAGE_LIST=( -# from seldon-core -docker.io/seldonio/engine:1.12.0 -) # dynamic list IMAGE_LIST=() IMAGE_LIST+=($(find $REPO -type f -name metadata.yaml -exec yq '.resources | to_entries | .[] | .value | ."upstream-source"' {} \;)) @@ -17,5 +12,4 @@ IMAGE_LIST+=($(yq '.options | ."executor-container-image-and-version" | .default IMAGE_LIST+=($(yq e ".data.storageInitializer" src/templates/configmap.yaml.j2 | jq -r 'select((.image)) | "\(.image)"')) IMAGE_LIST+=($(yq e ".data.explainer" src/templates/configmap.yaml.j2 | jq -r 'select((.image)) | "\(.image)"')) IMAGE_LIST+=($(yq e ".data.explainer" src/templates/configmap.yaml.j2 | jq -r 'select((.image_v2)) | "\(.image_v2)"')) -printf "%s\n" "${STATIC_IMAGE_LIST[@]}" printf "%s\n" "${IMAGE_LIST[@]}"