Skip to content

Commit 60bbfb2

Browse files
authored
docs: Argo CD resource labels (#591)
Signed-off-by: Michael Crenshaw <[email protected]>
1 parent 5381de4 commit 60bbfb2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/argocd-integrations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,15 @@ To enable these deep links, add the following to your `argocd-cm` ConfigMap:
6161
icon.class: fa-code-pull-request
6262
if: resource.apiVersion == "promoter.argoproj.io/v1alpha1" && resource.kind == "ChangeTransferPolicy" && resource.status.pullRequest != nil && resource.status.pullRequest.url != ""
6363
```
64+
65+
## Commit Status Keys in Resource Tree
66+
67+
Argo CD supports [showing values of specific labels in the resource tree](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#resource-custom-labels).
68+
69+
![Screenshot of Argo CD resource tree. The CommitStatus resources are labeled with their key.](assets/argocd-resource-tree-labels.png)
70+
71+
To enable this, add the following to your `argocd-cm` ConfigMap:
72+
73+
```yaml
74+
resource.customLabels: promoter.argoproj.io/commit-status
75+
```
30.4 KB
Loading

0 commit comments

Comments
 (0)