Skip to content

Instantly share code, notes, and snippets.

View timebertt's full-sized avatar

Tim Ebert timebertt

View GitHub Profile
@timebertt
timebertt / vendor-gardener-v1.44.sh
Created April 5, 2022 08:47
vendor-gardener-v1.44.sh
#!/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"
@timebertt
timebertt / README.md
Last active November 9, 2022 12:01
List all pulled images in a cluster with their supported platforms

List all pulled images in a cluster with their supported platforms

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.

Usage

Example usage: