Why is `helm upgrade --install` the standard CI command?
BeginnerConceptRelease Lifecycle, Repositories & OCI
Answer
It is idempotent: it installs the release if it does not exist and upgrades it if it does, so the same pipeline step works for the first deploy and every later one.
helm upgrade --install shop ./shop -n shop --create-namespace \
-f values-prod.yaml --atomic --wait --timeout 10m --history-max 15
Separate install and upgrade steps need branching logic and fail when someone deleted or pre-created the release.