This script lists all images that are present on any of the cluster's nodes and determines the platforms supported by the image.
It uses the crane tool for detecting supported platforms.
Example usage:
| #!/bin/bash | |
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| extension="$(basename "$PWD")" | |
| platform=$(echo "${extension#gardener-extension-provider-}" | sed 's/packet/equinix-metal/') | |
| echo ">>> Revendoring $extension" |
This script lists all images that are present on any of the cluster's nodes and determines the platforms supported by the image.
It uses the crane tool for detecting supported platforms.
Example usage: