| name | helm-upgrade |
| description | Upgrade a Helm chart version for an Argo CD managed component by updating targetRevision in the Application CR |
| argument-hint | <component> <new-version> |
Helm Chart Upgrade
Upgrade $ARGUMENTS[0] to chart version $ARGUMENTS[1].
Steps
-
Locate Application CR:
- Search:
kubernetes/argocd/applications/**/$ARGUMENTS[0]/app.yaml
-
Read current version:
- Show current
targetRevision value
- Confirm the upgrade:
current → $ARGUMENTS[1]
-
Update targetRevision:
- Edit
spec.sources[0].targetRevision in the Application CR to $ARGUMENTS[1]
-
Check for breaking changes:
- If major version bump, warn the user to review changelog
- Suggest checking
values.yaml compatibility
-
Show diff:
- Display the file diff for review
- Do NOT auto-commit — let user review and decide
-
Post-upgrade checklist:
- Remind to check Argo CD sync status after push
- If CRD changes expected, warn about potential sync order issues