Skip to content

How does 'sync --info stringArray' work during an 'argocd app sync' ? #5401

Answered by alexmt
jmarcos-cano asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jmarcos-cano ,

The --info flag adds info items into app.operation.info (which is copied to app.status.operationState.operation.info when operation is completed). So this is operation metadata, not application metadata. Currently, it is not shown in Argo CD UI and the feature is used to build custom integration by some users.

Currently argocd CLI does not have a flag to update app level info but you can use generic argocd app patch command:

argocd app patch guestbook --patch='[{"op": "replace", "path": "/spec/info", "value": [{"name": "user", "value": "[email protected]"}]}]'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jmarcos-cano
Comment options

Answer selected by jannfis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants