Admnistration
- See what is currently installed
1helm list -A
2NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
3nesux3 default 1 2022-08-12 20:01:16.0982324 +0200 CEST deployed nexus3-1.0.6 3.37.3
- Install/Uninstall
1helm status nesux3
2helm uninstall nesux3
3helm install nexus3
4helm history nexus3
5
6# work even if already installed
7helm upgrade --install ingress-nginx ${DIR}/helm/ingress-nginx \
8 --namespace=ingress-nginx \
9 --create-namespace \
10 -f $helm {DIR}/helm/ingress-values.yml
11
12#Make helm unsee an apps (it does not delete the apps)
13kubectl delete secret -l owner=helm,name=argo-cd
- Handle Helm Repo and Charts
1#Handle repo
2helm repo list
3helm repo add gitlab https://charts.gitlab.io/
4helm repo update
5
6#Pretty usefull to configure
7helm show values elastic/eck-operator
8
9#See different version available
10helm search repo hashicorp/vault
11helm search repo hashicorp/vault -l
12
13# download a chart
14helm fetch ingress/ingress-nginx --untar
Tips
- List all images needed in helm charts (but not the one with no tags)
1helm template -g longhorn-1.4.1.tgz |yq -N '..|.image? | select(. == "*" and . != null)'|sort|uniq|grep ":"|egrep -v '*:[[:blank:]]' || echo ""
Comments