...
Script dependencies: helm
, yq
Script hivemq-helm-chart-list-versions/list.sh
:
Code Block | ||
---|---|---|
| ||
#!/usr/bin/env bash helm repo add hivemq https://hivemq.github.io/helm-charts helm repo update echo "CHART APP APP_IMAGE OPERATOR_IMAGE" IFS=$'\n'; for line in $(helm search repo hivemq/hivemq-operator --versions | tail -n +2); do chartVersion=$(echo "$line" | cut -d$'\t' -f2 | xargs) appVersion=$(echo "$line" | cut -d$'\t' -f3 | xargs) hivemqImage=$(helm show values hivemq/hivemq-operator --version $chartVersion | yq '.hivemq.image') operatorImage=$(helm show values hivemq/hivemq-operator --version $chartVersion | yq '.operator.image') echo "$chartVersion $appVersion $hivemqImage $operatorImage"; done |
...