Override Helm values

Change Helm values live without touching Git; the app drifts from Git until you commit the change

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 or Helm parameter overrides with -p; for an audit trail, overlays in Git are better

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

    Compare the manifests that Argo renders with the live cluster before you sync

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

    List ApplicationSets and show one with its generators and the apps it creates

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

    Register an HTTPS repo with a username and token; for SSH use --ssh-private-key-path

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

    Merge-patch the app spec without editing the CR, a quick way to change targetRevision

all 27 argocd commands