#!/bin/sh
set -eu
umask 077
: "${CHART_REF:?set a reviewed chart reference}"
: "${CHART_VERSION:?set the reviewed immutable chart version}"
: "${VALUES_FILE:?set a nonsecret values file}"
helm template monitoring "$CHART_REF" --version "$CHART_VERSION"   --namespace monitoring --values "$VALUES_FILE" > rendered.yaml
# Inspect storage, credentials, image digests and network paths before installation.
