docs/widgets/services/argocd.md
Learn more about ArgoCD.
Allowed fields (limited to a max of 4): ["apps", "synced", "outOfSync", "healthy", "progressing", "degraded", "suspended", "missing"]
widget:
type: argocd
url: http://argocd.host.or.ip:port
key: argocdapikey
You can generate an API key either by creating a bearer token for an existing account, see Authorization (not recommended) or create a new local user account with limited privileges and generate an authentication token for this account. To do this the steps are:
apiKey capabilityrole:readonly role.If you installed ArgoCD via the official Helm chart, the account creation and rbac config can be achived by overriding these helm values:
configs:
cm:
accounts.readonly: apiKey
rbac:
policy.csv: "g, readonly, role:readonly"
This creates a new account called readonly and attaches the role:readonly role to it.