Totally revamp cluster chart configs
This commit is contained in:
23
scripts/update-helm-repos.sh
Normal file
23
scripts/update-helm-repos.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
repos=(
|
||||
"jetstack=https://charts.jetstack.io"
|
||||
"stable=https://kubernetes-charts.storage.googleapis.com/"
|
||||
"minio=https://helm.min.io/"
|
||||
"anchore=https://charts.anchore.io"
|
||||
"prometheus-community=https://prometheus-community.github.io/helm-charts"
|
||||
"bitnami=https://charts.bitnami.com/bitnami"
|
||||
"hashicorp=https://helm.releases.hashicorp.com"
|
||||
"ingress-nginx=https://kubernetes.github.io/ingress-nginx"
|
||||
)
|
||||
|
||||
update_helm_repos () {
|
||||
for i in ${repos[@]}; do
|
||||
k=$(echo "$i" | cut -d= -f1)
|
||||
v=$(echo "$i" | cut -d= -f2)
|
||||
helm repo add $k $v
|
||||
done
|
||||
helm repo update
|
||||
}
|
||||
|
||||
update_helm_repos
|
||||
Reference in New Issue
Block a user