Override Helm value at sync

Override Helm values live without touching Git; note: drifts from source until committed

argocd app set <name> --helm-set image.tag=v2 --helm-set replicaCount=3

tool
argocd27 commands
tags
argocdgitopsk8stroubleshooting

More argocd commands

  • argocd app set <name> -p key=val -p env=prod

    Set Kustomize/Helm parameter overrides via -p; modern: prefer Git-tracked overlays for audit

  • argocd app manifests <name> | kubectl diff -f -

    Diff Argo-rendered manifests against live cluster state before syncing

  • argocd appset list && argocd appset get <name> -o yaml

    List/get ApplicationSets and their generated child apps and generators

  • argocd repo add https://git.example.com/repo.git --username <id> --password $TOKEN

    Register HTTPS repo with creds; modern: --ssh-private-key-path for SSH-based access

  • argocd app patch <name> --patch '{"spec":{"source":{"targetRevision":"v2.1"}}}' --type merge

    Merge-patch app spec without editing the CR; useful to bump targetRevision fast

all 27 argocd commands