#!/bin/sh set -eu chart_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) namespace=${1:-pixelfed} shift $(( $# > 0 ? 1 : 0 )) helm upgrade --install pixelfed "$chart_dir/chart" \ --namespace "$namespace" --create-namespace \ --wait --timeout 20m "$@"