diff --git a/tools/get-images.sh b/tools/get-images.sh index ad2d45e..a9c63d8 100755 --- a/tools/get-images.sh +++ b/tools/get-images.sh @@ -6,10 +6,5 @@ IMAGE_LIST=() IMAGE_LIST+=($(find . -type f -name metadata.yaml -exec yq '.resources | to_entries | .[] | .value | ."upstream-source"' {} \;)) IMAGE_LIST+=($(yq '.options.executor-container-image-and-version.default' config.yaml)) -IMAGE_LIST+=($(yq e ".data.predictor_servers" src/templates/configmap.yaml.j2 | jq -r '.[]' | jq -r 'select((.protocols.v2)) | "\(.protocols.v2.image):\(.protocols.v2.defaultImageVersion)"')) -IMAGE_LIST+=($(yq e ".data.predictor_servers" src/templates/configmap.yaml.j2 | jq -r '.[]' | jq -r 'select((.protocols.seldon)) | "\(.protocols.seldon.image):\(.protocols.seldon.defaultImageVersion)"')) -IMAGE_LIST+=($(yq '.options | ."executor-container-image-and-version" | .default' config.yaml)) -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)"')) +IMAGE_LIST+=($(yq '.[]' ./src/default-custom-images.json | sed 's/"//g')) printf "%s\n" "${IMAGE_LIST[@]}"