github.com/argoproj/argo-cd/v3@v3.2.1/docs/user-guide/status-badge.md (about)

     1  # Status Badge
     2  
     3  Argo CD can display a badge with health and sync status for any application. The feature is disabled by default because badge image is available to any user without authentication.
     4  The feature can be enabled using `statusbadge.enabled` key of `argocd-cm` ConfigMap (see [argocd-cm.yaml](../operator-manual/argocd-cm-yaml/)).
     5  
     6  
     7  ![healthy and synced](../assets/status-badge-healthy-synced.png)
     8  
     9  To show this badge, use the following URL format `${argoCdBaseUrl}/api/badge?name=${appName}`, e.g. http://localhost:8080/api/badge?name=guestbook.
    10  
    11  To override the `${argoCdBaseUrl}` value, you can use the `statusbadge.url` key of `argocd-cm` ConfigMap.
    12  
    13  The URLs for status image are available on application details page:
    14  
    15  1. Navigate to application details page and click on 'Details' button.
    16  2. Scroll down to 'Status Badge' section.
    17  3. Select required template such as URL, Markdown etc.
    18     for the status image URL in markdown, html, etc are available .
    19  4. Copy the text and paste it into your README or website.
    20  
    21  ## Additional query parameters options
    22  
    23  ### showAppName
    24  
    25  Display the application name in the status badge.
    26  
    27  Available values: `true/false`
    28  
    29  Default value: `false`
    30  
    31  Example: `&showAppName=true`
    32  
    33  ### revision
    34  
    35  Display revision targeted by the application.
    36  
    37  It will also extend the badge width to 192px.
    38  
    39  In multiple sources setup, revision of first defined source will be displayed.
    40  
    41  Available values: `true/false`
    42  
    43  Default value: `false`
    44  
    45  Example: `&revision=true`
    46  
    47  ### keepFullRevision
    48  
    49  By default, displayed revision is truncated to 7 characters.
    50  
    51  This parameter allows to display it fully if it exceeds that length.
    52  
    53  It will also extend the badge width to 400px.
    54  
    55  Available values: `true/false`
    56  
    57  Default value: `false`
    58  
    59  Example: `&keepFullRevision=true`
    60  
    61  ### width
    62  
    63  Change width of the badge.
    64  
    65  Completely replace current calculated width.
    66  
    67  Available values: `integer`
    68  
    69  Default value: `nil`
    70  
    71  Example: `&width=500`