#!/usr/bin/env bash repos=( "stable=https://charts.helm.sh/stable" "ingress-nginx=https://kubernetes.github.io/ingress-nginx" "prometheus-community=https://prometheus-community.github.io/helm-charts" "hashicorp=https://helm.releases.hashicorp.com" "bitnami=https://charts.bitnami.com/bitnami" "minio=https://helm.min.io/" "anchore=https://charts.anchore.io" ) for i in ${repos[@]}; do IFS="=" set $i helm repo add $1 $2 done helm repo update