The are lot's of different ways to diff what is going to happen after helm upgrade or helm install.
You can use a plugin like
helm diff on the one hand or you can run either
helm template or
helm upgrade --dry-run
and pipe the result into
kubectl diff or
kubectl apply --dry-run. The results differ - so you should know what to
expect from which combination.
Helm and Kubectl Diff
Install k8s and helm
Install kubernetes with k3s via
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.12+k3s1 sh -.
Check if it is properly running with
kubectl get nodes (should answer
Show kubernetes versions via
Set kubeconfig to use k3s' kubeconfig
Install helm via
curl -Ss https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | DESIRED_VERSION=v3.6.3 bash.
Show helm version
Install helm diff plugin
helm plugin install https://github.com/databus23/helm-diff.